Download OpenAPI specification:Download
OAS 3.0 Nodeop API Specification
Returns an object containing various details about a specific account on the blockchain.
JSON Object with single member "account_name"
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
Any of string (NamePrivileged) ^(sysio[\.][a-z1-5]{1,6})([a-j]{1})?$ String representation of privileged SYSIO name type |
{- "account_name": "string"
}
{- "account_name": "string",
- "head_block_num": 0,
- "head_block_time": "string",
- "last_code_update": "string",
- "created": "string",
- "refund_request": {
- "owner": "string",
- "request_time": "string",
- "net_amount": "string",
- "cpu_amount": "string"
}, - "ram_quota": "string",
- "net_limit": {
- "max": "string",
- "available": "string",
- "used": "string"
}, - "cpu_limit": {
- "max": "string",
- "available": "string",
- "used": "string"
}, - "total_resources": {
- "owner": "string",
- "ram_bytes": "string",
- "net_weight": "string",
- "cpu_weight": "string"
}, - "core_liquid_balance": "string",
- "self_delegated_bandwidth": {
- "from": "string",
- "to": "string",
- "net_weight": "string",
- "cpu_weight": "string"
}, - "net_weight": "string",
- "cpu_weight": "string",
- "ram_usage": "string",
- "privileged": true,
- "permissions": [
- {
- "parent": "string",
- "perm_name": "string",
- "required_auth": {
- "waits": [
- {
- "wait_sec": 0,
- "weight": 0
}
], - "keys": [
- {
- "key": "string",
- "weight": 0
}
], - "threshold": 0,
- "accounts": [
- {
- "weight": 0,
- "permission": {
- "actor": "string",
- "permission": "string"
}
}
]
}
}
], - "voter_info": {
- "owner": "string",
- "proxy": "string",
- "producers": [
- "string"
], - "staked": "string",
- "last_vote_weight": "string",
- "proxied_vote_weight": "string",
- "is_proxy": 0,
- "flags1": 0,
- "reserved2": 0,
- "reserved3": "string"
}
}
Returns an object containing various details about a specific block on the blockchain.
block_num_or_id required | string Provide a |
{- "block_num_or_id": "string"
}
{- "timestamp": "string",
- "producer": "string",
- "confirmed": 0,
- "previous": "string",
- "transaction_mroot": "string",
- "action_mroot": "string",
- "schedule_version": 0,
- "new_producers": {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}, - "header_extensions": [
- 0
], - "new_protocol_features": [
- { }
], - "producer_signature": "string",
- "transactions": [
- {
- "status": "executed",
- "cpu_usage_us": 0,
- "net_usage_words": 0,
- "trx": "string"
}
], - "block_extensions": [
- 0
], - "id": "string",
- "block_num": 0,
- "ref_block_prefix": 0
}
{- "server_version": "string",
- "chain_id": "string",
- "head_block_num": 0,
- "head_block_id": "string",
- "head_block_time": "string",
- "head_block_producer": "string",
- "last_irreversible_block_num": 0,
- "last_irreversible_block_id": "string",
- "virtual_block_cpu_limit": 0,
- "virtual_block_net_limit": 0,
- "block_cpu_limit": 0,
- "block_net_limit": 0,
- "server_version_string": "string",
- "fork_db_head_block_num": 0,
- "fork_db_head_block_id": "string"
}
This method expects a transaction in JSON format and will attempt to apply it to the blockchain.
signatures | Array of strings (Signature) [^SIG_([RK]1|WA)_[1-9A-HJ-NP-Za-km-z]+$] array of signatures required to authorize transaction |
compression | boolean Compression used, usually false |
packed_context_free_data | string json to hex |
packed_trx | string Transaction object json to hex |
{- "signatures": [
- "string"
], - "compression": true,
- "packed_context_free_data": "string",
- "packed_trx": "string"
}
null
This method expects a transaction in JSON format and will attempt to apply it to the blockchain.
signatures | Array of strings (Signature) [^SIG_([RK]1|WA)_[1-9A-HJ-NP-Za-km-z]+$] array of signatures required to authorize transaction |
compression | boolean Compression used, usually false |
packed_context_free_data | string json to hex |
packed_trx | string Transaction object json to hex |
{- "signatures": [
- "string"
], - "compression": true,
- "packed_context_free_data": "string",
- "packed_trx": "string"
}
null
This method expects a transaction in JSON format and will attempt to apply it to the blockchain.
expiration required | string (DateTime) ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}... Time that transaction must be confirmed by. |
ref_block_num required | integer |
ref_block_prefix required | integer 32-bit portion of block ID |
required | WholeNumber (string) or WholeNumber (integer) (WholeNumber) A whole number |
required | WholeNumber (string) or WholeNumber (integer) (WholeNumber) A whole number |
delay_sec required | integer |
required | Array of objects (Action) [ items >= 5 properties ] |
required | Array of objects (Action) [ items >= 5 properties ] |
Array of integers or strings (Extension) [ items ] |
[- {
- "expiration": "string",
- "ref_block_num": 0,
- "ref_block_prefix": 0,
- "max_net_usage_words": "string",
- "max_cpu_usage_ms": "string",
- "delay_sec": 0,
- "context_free_actions": [
- {
- "account": "string",
- "name": "string",
- "authorization": [
- {
- "actor": "string",
- "permission": "string"
}
], - "data": { },
- "hex_data": "string"
}
], - "actions": [
- {
- "account": "string",
- "name": "string",
- "authorization": [
- {
- "actor": "string",
- "permission": "string"
}
], - "data": { },
- "hex_data": "string"
}
], - "transaction_extensions": [
- [
- 0
]
]
}
]
null
Retrieves the glock header state
block_num_or_id required | string Provide a block_number or a block_id |
{- "block_num_or_id": "string"
}
{- "id": "string",
- "block_num": 0,
- "header": {
- "timestamp": "string",
- "producer": "string",
- "confirmed": 0,
- "previous": "string",
- "transaction_mroot": "string",
- "action_mroot": "string",
- "schedule_version": 0,
- "new_producers": {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}, - "header_extensions": [
- 0
], - "new_protocol_features": [
- { }
], - "producer_signature": "string",
- "transactions": [
- {
- "status": "executed",
- "cpu_usage_us": 0,
- "net_usage_words": 0,
- "trx": "string"
}
], - "block_extensions": [
- 0
], - "id": "string",
- "block_num": 0,
- "ref_block_prefix": 0
}, - "dpos_proposed_irreversible_blocknum": "string",
- "dpos_irreversible_blocknum": "string",
- "bft_irreversible_blocknum": "string",
- "pending_schedule_lib_num": "string",
- "pending_schedule_hash": "string",
- "pending_schedule": {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}, - "active_schedule": {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}, - "blockroot_merkle": {
- "_active_nodes": [
- "string"
], - "_node_count": "string"
}, - "producer_to_last_produced": [
- [
- "string"
]
], - "producer_to_last_implied_irb": [
- [
- "string"
]
], - "block_signing_key": "string",
- "confirm_count": [
- "string"
], - "confirmations": [
- null
]
}
Retrieves the ABI for a contract based on its account name
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
Any of string (NamePrivileged) ^(sysio[\.][a-z1-5]{1,6})([a-j]{1})?$ String representation of privileged SYSIO name type |
{- "account_name": "string"
}
{- "version": "string",
- "types": [
- {
- "new_type_name": "string",
- "type": "uint8"
}
], - "structs": [
- {
- "name": "string",
- "base": "string",
- "fields": [
- {
- "name": "string",
- "type": "uint8"
}
]
}
], - "actions": [
- {
- "name": "string",
- "type": "string",
- "ricardian_contract": "string"
}
], - "tables": [
- {
- "name": "string",
- "index_type": "i64",
- "key_names": [
- "string"
], - "key_types": [
- "uint64"
], - "type": "string"
}
], - "abi_extensions": [
- [
- 0
]
], - "error_messages": [
- "string"
], - "ricardian_clauses": [
- "string"
], - "variants": [
- "string"
]
}
Retrieves the current balance
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
symbol required | string (Symbol) ^([0-9]{1,32}.[0-9]{4} [A-Z]{1,7})$ A string representation of a Wire 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 |
{- "code": "string",
- "account": "string",
- "symbol": "string"
}
[- "string"
]
Retrieves currency stats
NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) | |
symbol | string (Symbol) ^([0-9]{1,32}.[0-9]{4} [A-Z]{1,7})$ A string representation of a Wire 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 |
{- "code": "string",
- "symbol": "string"
}
null
Returns the required keys needed to sign a transaction.
required | object (Transaction) >= 8 properties |
available_keys required | Array of strings (PublicKey) [^(EOS|PUB_([RK]1|WA)_)[1-9A-HJ-NP-Za-km-z]+$] Provide the available keys |
{- "transaction": {
- "expiration": "string",
- "ref_block_num": 0,
- "ref_block_prefix": 0,
- "max_net_usage_words": "string",
- "max_cpu_usage_ms": "string",
- "delay_sec": 0,
- "context_free_actions": [
- {
- "account": "string",
- "name": "string",
- "authorization": [
- {
- "actor": "string",
- "permission": "string"
}
], - "data": { },
- "hex_data": "string"
}
], - "actions": [
- {
- "account": "string",
- "name": "string",
- "authorization": [
- {
- "actor": "string",
- "permission": "string"
}
], - "data": { },
- "hex_data": "string"
}
], - "transaction_extensions": [
- [
- 0
]
]
}, - "available_keys": [
- "string"
]
}
null
Retrieves producers list
limit required | string total number of producers to retrieve |
lower_bound required | string In conjunction with limit can be used to paginate through the results. For example, limit=10 and lower_bound=10 would be page 2 |
json | boolean return result in JSON format |
{- "limit": "string",
- "lower_bound": "string",
- "json": true
}
{- "active": [
- {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}
], - "pending": [
- {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}
], - "proposed": [
- {
- "version": 0,
- "producers": [
- {
- "producer_name": "string",
- "block_signing_key": "string"
}
]
}
]
}
Retrieves raw code and ABI for a contract based on account name
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
Any of string (NamePrivileged) ^(sysio[\.][a-z1-5]{1,6})([a-j]{1})?$ String representation of privileged SYSIO name type |
{- "account_name": "string"
}
{- "account_name": "string",
- "wasm": "string",
- "abi": "string"
}
Retrieves the scheduled transaction
lower_bound | string (DateTimeSeconds) ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}... Date/time string in the format YYYY-MM-DDTHH:MM:SS.sss |
limit | integer The maximum number of transactions to return |
json | boolean true/false whether the packed transaction is converted to json |
{- "lower_bound": "string",
- "limit": 0,
- "json": true
}
{- "transactions": [
- {
- "expiration": "string",
- "ref_block_num": 0,
- "ref_block_prefix": 0,
- "max_net_usage_words": "string",
- "max_cpu_usage_ms": "string",
- "delay_sec": 0,
- "context_free_actions": [
- {
- "account": "string",
- "name": "string",
- "authorization": [
- {
- "actor": "string",
- "permission": "string"
}
], - "data": { },
- "hex_data": "string"
}
], - "actions": [
- {
- "account": "string",
- "name": "string",
- "authorization": [
- {
- "actor": "string",
- "permission": "string"
}
], - "data": { },
- "hex_data": "string"
}
], - "transaction_extensions": [
- [
- 0
]
]
}
]
}
Retrieves table scope
code required | string
|
table | string Filter results by table |
lower_bound | string Filters results to return the first element that is not less than provided value in set |
upper_bound | string Filters results to return the first element that is greater than provided value in set |
limit | integer <int32> Default: 10 Limit number of results returned. |
reverse | boolean Default: false Reverse the order of returned results |
show_payer | boolean Default: false Show RAM payer |
{- "code": "string",
- "table": "string",
- "lower_bound": "string",
- "upper_bound": "string",
- "limit": 10,
- "reverse": false,
- "show_payer": false
}
{- "rows": [
- {
- "code": "string",
- "scope": "string",
- "table": "string",
- "payer": "string",
- "count": 0
}
], - "more": "string"
}
Returns an object containing rows from the specified table.
code required | string The name of the smart contract that controls the provided table |
table required | string The name of the table to query |
scope required | string The account to which this data belongs |
index_position | string Position of the index used, accepted parameters |
key_type | string Type of key specified by index_position (for example - |
encode_type | string |
lower_bound | string Filters results to return the first element that is not less than provided value in set |
upper_bound | string Filters results to return the first element that is greater than provided value in set |
limit | integer <int32> Default: 10 Limit number of results returned. |
reverse | boolean Default: false Reverse the order of returned results |
show_payer | boolean Default: false Show RAM payer |
{- "code": "string",
- "table": "string",
- "scope": "string",
- "index_position": "string",
- "key_type": "string",
- "encode_type": "string",
- "lower_bound": "string",
- "upper_bound": "string",
- "limit": 10,
- "reverse": false,
- "show_payer": false
}
{- "rows": [
- null
]
}
Returns an object containing the serialized action data.
NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) | |
NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) | |
args | object json object of the action parameters that will be serialized. |
{- "code": "string",
- "action": "string",
- "args": { }
}
{- "binargs": "string"
}
Returns an object containing the deserialized action data.
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
binargs required | string (Hex) ^(0[xX])?[0-9a-fA-F]*$ |
{- "code": "string",
- "action": "string",
- "binargs": "string"
}
"string"
Returns an object containing the smart contract WASM code.
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
code_as_wasm required | integer Default: 1 This must be 1 (true) |
{- "account_name": "string",
- "code_as_wasm": 1
}
{- "name": "string",
- "code_hash": "string",
- "wast": "string",
- "wasm": "string",
- "abi": {
- "version": "string",
- "types": [
- {
- "new_type_name": "string",
- "type": "uint8"
}
], - "structs": [
- {
- "name": "string",
- "base": "string",
- "fields": [
- {
- "name": "string",
- "type": "uint8"
}
]
}
], - "actions": [
- {
- "name": "string",
- "type": "string",
- "ricardian_contract": "string"
}
], - "tables": [
- {
- "name": "string",
- "index_type": "i64",
- "key_names": [
- "string"
], - "key_types": [
- "uint64"
], - "type": "string"
}
], - "abi_extensions": [
- [
- 0
]
], - "error_messages": [
- "string"
], - "ricardian_clauses": [
- "string"
], - "variants": [
- "string"
]
}
}
Returns an object containing the smart contract abi.
required | NamePrivileged (string) or NameBasic (string) or NameBid (string) or NameCatchAll (string) (Name) |
Any of string (NamePrivileged) ^(sysio[\.][a-z1-5]{1,6})([a-j]{1})?$ String representation of privileged SYSIO name type |
{- "account_name": "string"
}
{- "account_name": "string",
- "code_hash": "string",
- "abi_hash": "string",
- "abi": "string"
}
Retreives the activated protocol features for producer node
required | object Defines the filters to retreive the protocol features by | ||||||||||
|
{- "params": {
- "lower_bound": 0,
- "upper_bound": 0,
- "limit": 0,
- "search_by_block_num": true,
- "reverse": true
}
}
{- "activated_protocol_features": [
- "string"
], - "more": 0
}