Chain API
v1.0.0https://eos.nownodes.io/v1/chainOAS 3.0 Nodeos Chain API Specification
Authentication
api-keyAuthapiKeyAPI Key: api-key in header
Chain
Chain
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing various details about a specific account on the blockchain.
Body
JSON Object with single member "account_name"
account_namestring | string | string | stringrequiredResponse
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing various details about a specific block on the blockchain.
Body
block_num_or_idstringrequiredProvide a block number or a block id
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Similar to get_block but returns a fixed-size smaller subset of the block data.
Body
block_numintegerrequiredProvide a block number
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing various details about the blockchain.
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This method expects a transaction in JSON format and will attempt to apply it to the blockchain.
Body
signaturesArray<items>array of signatures required to authorize transaction
compressionbooleanCompression used, usually false
packed_context_free_datastringjson to hex
packed_trxstringTransaction object json to hex
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This method expects a transaction in JSON format and will attempt to apply it to the blockchain.
Body
signaturesArray<items>array of signatures required to authorize transaction
compressionbooleanCompression used, usually false
packed_context_free_datastringjson to hex
packed_trxstringTransaction object json to hex
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This method expects a transaction in JSON format and will attempt to apply it to the blockchain.
Body
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the glock header state
Body
block_num_or_idstringrequiredProvide a block_number or a block_id
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the ABI for a contract based on its account name
Body
account_namestring | string | string | stringrequiredResponse
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the current balance
Body
codestring | string | string | stringrequiredaccountstring | string | string | stringrequiredsymbolitemsrequiredA string representation of an EOSIO symbol, composed of a float with a precision of 4, and a symbol composed of capital letters between 1-7 letters separated by a space, example 1.0000 ABC.
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves currency stats
Body
codestring | string | string | stringsymbolitemsA string representation of an EOSIO symbol, composed of a float with a precision of 4, and a symbol composed of capital letters between 1-7 letters separated by a space, example 1.0000 ABC.
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the required keys needed to sign a transaction.
Body
transactionitemsrequiredavailable_keysArray<items>requiredProvide the available keys
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves producers list
Body
limitstringrequiredtotal number of producers to retrieve
lower_boundstringrequiredIn conjunction with limit can be used to paginate through the results. For example, limit=10 and lower_bound=10 would be page 2
jsonbooleanreturn result in JSON format
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves raw code and ABI for a contract based on account name
Body
account_namestring | string | string | stringrequiredResponse
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the scheduled transaction
Body
lower_boundlower_boundDate/time string in the format YYYY-MM-DDTHH:MM:SS.sss
limitintegerThe maximum number of transactions to return
jsonbooleantrue/false whether the packed transaction is converted to json
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves table scope
Body
codestringrequiredname of the contract to return table data for
tablestringFilter results by table
lower_boundstringFilters results to return the first element that is not less than provided value in set
upper_boundstringFilters results to return the first element that is greater than provided value in set
limitinteger<int32>10Limit number of results returned.
reversebooleanfalseReverse the order of returned results
show_payerbooleanfalseShow RAM payer
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing rows from the specified table.
Body
codestringrequiredThe name of the smart contract that controls the provided table
tablestringrequiredThe name of the table to query
scopestringrequiredThe account to which this data belongs
index_positionstringPosition of the index used, accepted parameters primary, secondary, tertiary, fourth, fifth, sixth, seventh, eighth, ninth , tenth
key_typestringType of key specified by index_position (for example - uint64_t or name)
encode_typestringlower_boundstringFilters results to return the first element that is not less than provided value in set
upper_boundstringFilters results to return the first element that is greater than provided value in set
limitinteger<int32>10Limit number of results returned.
reversebooleanfalseReverse the order of returned results
show_payerbooleanfalseShow RAM payer
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing rows from the specified kv table.
Body
codestringrequiredThe name of the smart contract that controls the provided kv table
tablestringrequiredThe name of the kv table to query
index_namestringrequiredThe name of primary or secondary index
encode_typestringEncoding type to use for index_value, lower_bound, and upper_bound. Valid values are "bytes", "string", "name", "dec", or "hex"'. If not provided, the appropriate value based on the index_name's abi indicated type, for integers "dec" is the default. "bytes" are encoded as hexidecimal strings and can be used for any type of field. Example values for each type "bytes" => "0000000000000e1a", "string" => "Some value!", "name" => "eosio", "dec" => "3610", and "hex" => "e1a".
index_valuestringIndex value used for point query encoded as 'encode_type'. Cannot be used with either lower_bound or upper_bound.
lower_boundstringLower bound index value for ranged query. Query result includes rows specified with lower_bound. Cannot be used with index_value. If index_value and lower_bound are not provided, then lower_bound is defaulted to be the lowest value in the table for that index_name.
upper_boundstringUpper bound index value for ranged query. Query result includes rows specified with upper_bound. Cannot be used with index_value. If index_value and upper_bound are not provided, then upper_bound is defaulted to be the highest value in the table for that index_name.
limitinteger<int32>Limit number of results returned
reversebooleanReverse the order of returned results
show_payerbooleanProvide the ram payer for each row
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing the serialized action data.
Body
codestring | string | string | stringactionstring | string | string | stringargsobjectjson object of the action parameters that will be serialized.
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing the deserialized action data.
Body
codestring | string | string | stringrequiredactionstring | string | string | stringrequiredbinargsbinargsrequiredResponse
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing the smart contract WASM code.
Body
account_namestring | string | string | stringrequiredcode_as_wasminteger1requiredThis must be 1 (true)
Response
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an object containing the smart contract abi.
Body
account_namestring | string | string | stringrequiredResponse
OK
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retreives the activated protocol features for producer node
Body
lower_boundintegerLower bound
upper_boundintegerUpper bound
limitintegerThe limit, default is 10
search_by_block_numbooleanFlag to indicate it is has to search by block number
reversebooleanFlag to indicate it has to search in reverse
Response
OK