eosjs 文档(RPC接口)

45次阅读

共计 2564 个字符,预计需要花费 7 分钟才能阅读完成。

RPC 接口
接口

Abi
BlockTaposInfo
GetAbiResult
GetBlockResult
GetCodeResult
GetInfoResult
GetRawCodeAndAbiResult
PushTransactionArgs

Abi
属性

abi_extensions:Array<object>

定义于 eosjs-rpc-interfaces.ts:15

actions:Array<object>

定义于 eosjs-rpc-interfaces.ts:11

error_messages:Array<object>

定义于 eosjs-rpc-interfaces.ts:14

ricardian_clauses:Array<object>

定义于 eosjs-rpc-interfaces.ts:13

structs:Array<object>

定义于 eosjs-rpc-interfaces.ts:10

tables:Array<object>

定义于 eosjs-rpc-interfaces.ts:12

types:Array<object>

定义于 eosjs-rpc-interfaces.ts:9

<Optional> variants:Array<object>

定义于 eosjs-rpc-interfaces.ts:16

version:string

定义于 eosjs-rpc-interfaces.ts:8
BlockTaposInfo
属性

block_num:number

定义于 eosjs-rpc-interfaces.ts:28

ref_block_prefix:number

定义于 eosjs-rpc-interfaces.ts:29

timestamp:string

定义于 eosjs-rpc-interfaces.ts:27
GetAbiResult
属性

abi:Abi

定义于 eosjs-rpc-interfaces.ts:22

account_name:string

定义于 eosjs-rpc-interfaces.ts:21
GetBlockResult
属性

action_mroot:string

定义于 eosjs-rpc-interfaces.ts:39

block_num:number

定义于 eosjs-rpc-interfaces.ts:43

confirmed:number

定义于 eosjs-rpc-interfaces.ts:36

id:string

定义于 eosjs-rpc-interfaces.ts:42

previous:string

定义于 eosjs-rpc-interfaces.ts:37

producer:string

定义于 eosjs-rpc-interfaces.ts:35

producer_signature:string

定义于 eosjs-rpc-interfaces.ts:41

ref_block_prefix:number

定义于 eosjs-rpc-interfaces.ts:44

schedule_version:number

定义于 eosjs-rpc-interfaces.ts:40

timestamp:string

定义于 eosjs-rpc-interfaces.ts:34

transaction_mroot:string

定义于 eosjs-rpc-interfaces.ts:38
GetCodeResult
属性

abi:Abi

定义于 eosjs-rpc-interfaces.ts:53

account_name:string

定义于 eosjs-rpc-interfaces.ts:49

code_hash:string

定义于 eosjs-rpc-interfaces.ts:50

wasm:string

定义于 eosjs-rpc-interfaces.ts:52

wast:string

定义于 eosjs-rpc-interfaces.ts:51
GetInfoResult
属性

block_cpu_limit:number

定义于 eosjs-rpc-interfaces.ts:68

block_net_limit:number

定义于 eosjs-rpc-interfaces.ts:69

chain_id:string

定义于 eosjs-rpc-interfaces.ts:59

head_block_id:string

定义于 eosjs-rpc-interfaces.ts:63

head_block_num:number

定义于 eosjs-rpc-interfaces.ts:60

head_block_producer:string

定义于 eosjs-rpc-interfaces.ts:65

head_block_time:string

定义于 eosjs-rpc-interfaces.ts:64

last_irreversible_block_id:string

定义于 eosjs-rpc-interfaces.ts:62

last_irreversible_block_num:number

定义于 eosjs-rpc-interfaces.ts:61

server_version:string

定义于 eosjs-rpc-interfaces.ts:58

virtual_block_cpu_limit:number

定义于 eosjs-rpc-interfaces.ts:66

virtual_block_net_limit:number

定义于 eosjs-rpc-interfaces.ts:67
GetRawCodeAndAbiResult
属性

abi:string

定义于 eosjs-rpc-interfaces.ts:76

account_name:string

定义于 eosjs-rpc-interfaces.ts:74

wasm:string

定义于 eosjs-rpc-interfaces.ts:75
PushTransactionArgs
属性

serializedTransaction:Uint8Array

定义于 eosjs-rpc-interfaces.ts:82

signatures:string[]

定义于 eosjs-rpc-interfaces.ts:81

上一篇:RPC-Error

正文完
 0