EosBase
Client wrapper to interact with eos blockchains.
Summary
Client wrapper constructor.
Query for blockchain information.
Query for account information.
Query for smart contract detailed information.
Query for smart contract abi detailed information.
Query for smart contract abi detailed information.
Query for smart contract raw wasm and abi information.
Transform action data to packed binary format.
Transform action data as packed binary format to object.
Calculate required keys to sign the given transaction.
Query for blockchain block information.
Query block head state information.
Query for blockchain smart contract table state information.
Query for blockchain smart contract table state information.
Query account balance for a given token.
Query token statistics.
Query producers information.
Query producers schedule.
Query scheduled transactions.
Creates a signed transaction using the signature provider and broadcasts it to the network.
Creates a signed transaction using the signature provider.
Broadcast signed transaction to the network.
Query for account actions log.
Query transaction information.
Query public key accounts.
Query controlled accounts by a given account.
Members
Client wrapper constructor.
Parameters
config
Configures client parametershttpHandler
Http handler implementation
Query for blockchain information.
Returns
Blockchain information
Query for account information.
Parameters
accountName
account to query information
Returns
account information
Query for smart contract detailed information.
Parameters
accountName
smart contract account namecodeAsWasm
query code as wasm, wast otherwise
Returns
smart contract information
Query for smart contract abi detailed information.
Parameters
accountName
smart contract account name
Returns
Query for smart contract abi detailed information.
Parameters
accountName
smart contract account nameabiHash
TODO
Returns
smart contract abi information as Base64FcString
Query for smart contract raw wasm and abi information.
Parameters
accountName
smart contract account name
Returns
smart contract wasm and abi information
Transform action data to packed binary format.
Parameters
code
smart contract account nameaction
action namedata
action
Returns
Transform action data as packed binary format to object.
Parameters
code
action
data
Returns
Calculate required keys to sign the given transaction.
Parameters
availableKeys
available public keys listtrx
transaction requiring signatures
Returns
required public keys
Query for blockchain block information.
Parameters
blockNumOrId
block number or id to query information
Returns
block information
Query block head state information.
Parameters
blockNumOrId
block number or id
Returns
TODO
Query for blockchain smart contract table state information.
Parameters
TRowType
Type used for each row
Parameters
request.Json
Request rows using json or raw formatrequest.Code
accountName of the contract to search for table rowsrequest.Scope
scope text segmenting the table setrequest.Table
table namerequest.TableKey
unused so far?request.LowerBound
lower bound for the selected index valuerequest.UpperBound
upper bound for the selected index valuerequest.KeyType
Type of the index choosen, ex: i64request.IndexPosition
1 - primary(first), 2 - secondary index(in order defined by multi_index), 3 - third index, etc
Returns
Rows and if is there More rows to be fetched
Query for blockchain smart contract table state information.
Parameters
request.Json
Request rows using json or raw formatrequest.Code
accountName of the contract to search for table rowsrequest.Scope
scope text segmenting the table setrequest.Table
table namerequest.TableKey
unused so far?request.LowerBound
lower bound for the selected index valuerequest.UpperBound
upper bound for the selected index valuerequest.KeyType
Type of the index choosen, ex: i64request.IndexPosition
1 - primary(first), 2 - secondary index(in order defined by multi_index), 3 - third index, etc
Returns
Rows and if is there More rows to be fetched
Query account balance for a given token.
Parameters
code
token smart contract accountaccount
account name to checksymbol
token symbol (optional)
Returns
token balances
Query token statistics.
Parameters
code
token smart contract accountsymbol
token symbol (optional)
Returns
currencies statistics
Query producers information.
Parameters
request.json
get list as jsonrequest.lower_bound
lower bound for the selected index valuerequest.limit
limit the amount of results. Default 50
Returns
producers information
Query producers schedule.
Returns
Active, pending and proposed schedule
Query scheduled transactions.
Parameters
request.json
get list as jsonrequest.lower_bound
lower bound for the selected index valuerequest.limit
limit the amount of results. Default 50
Returns
Scheduled transactions
Creates a signed transaction using the signature provider and broadcasts it to the network.
Parameters
trx
Transaction to sendrequiredKeys
Override required keys to sign transaction
Returns
transaction id
Creates a signed transaction using the signature provider.
Parameters
trx
Transaction to signrequiredKeys
Override required keys to sign transaction
Returns
transaction id
Broadcast signed transaction to the network.
Parameters
strx
Signed transaction to send
Returns
Query for account actions log.
Parameters
accountName
account to query informationpos
Absolute sequence positon -1 is the end/last actionoffset
Number of actions relative to pos, negative numbers return [pos-offset,pos), positive numbers return [pos,pos+offset)
Returns
Query transaction information.
Parameters
transactionId
transaction id
Returns
Transaction information
Query public key accounts.
Parameters
publicKey
public key
Returns
account names
Query controlled accounts by a given account.
Parameters
accountName
account name to search
Returns
controlled account names
Last updated