Config

license_key

Your Blood license key.

stats_interval

Time in seconds between every 2 logs containing amount of requests sent.

port

Port to run the server on (you can leave default one 9182).

defaults

List of RPCs that will be used for all unassigned methods. Format is ['1','2']

RPCs

RPC list.

# Format and Example
rpc1 = 'http://rpc1link.com/'
rpc2 = 'http://rpc2link.com/'
rpc3 = 'http://rpc3link.com/'

methods

Methods' names and RPC list for each.

# Format and Example
getBalance = ['rpc1','rpc2']
sendTransaction = ['rpc3']
getProgramAccounts = ['rpc1','rpc3']

rate_limits

You can specify rate limit for every written earlier node.

# Format and Example
rpc1 = 100
rpc2 = 250
rpc3 = 50

Last updated