UNPKG

eosjs-api

Version:

Application programming interface to EOS blockchain nodes.

66 lines (65 loc) 1.7 kB
{ "get_actions": { "params": { "account_name": "account_name", "pos": { "type": "int32?", "doc": "An absolute sequence positon -1 is the end/last action" }, "offset": { "type": "int32?", "doc": "The number of actions relative to pos, negative numbers return [pos-offset,pos), positive numbers return [pos,pos+offset)" } }, "results": { "actions": "ordered_action_result[]", "last_irreversible_block": "uint32", "time_limit_exceeded_error": "bool?" }, "structs": [{ "name": "ordered_action_result", "fields": { "global_action_seq": "uint64", "account_action_seq": "int32", "block_num": "uint32", "block_time": "block_timestamp_type", "action_trace": "variant" } }] }, "get_transaction": { "brief": "Retrieve a transaction from the blockchain.", "params": { "id": "transaction_id_type", "block_num_hint": { "type": "uint32?", "default": 0, "doc": "A non-zero block number allows shorter transaction IDs (8 hex, 4 bytes)" } }, "results": { "id": "transaction_id_type", "trx": "variant", "block_time": "block_timestamp_type", "block_num": "uint32", "last_irreversible_block": "uint32", "traces": "variant[]" } }, "get_key_accounts": { "params": { "public_key": "public_key_type" }, "results": { "account_names": "account_name[]" } }, "get_controlled_accounts": { "params": { "controlling_account": "account_name" }, "results": { "controlled_accounts": "account_name[]" } } }