eosjs 文檔(RPC接口)

RPC接口

接口

  • Abi
  • BlockTaposInfo
  • GetAbiResult
  • GetBlockResult
  • GetCodeResult
  • GetInfoResult
  • GetRawCodeAndAbiResult
  • PushTransactionArgs

Abi

屬性

  • abi_extensions:Array<object>

定義於eosjs-rpc-interfaces.ts:15git

  • actions:Array<object>

定義於eosjs-rpc-interfaces.ts:11github

  • error_messages:Array<object>

定義於eosjs-rpc-interfaces.ts:14segmentfault

  • ricardian_clauses:Array<object>

定義於eosjs-rpc-interfaces.ts:13code

  • structs:Array<object>

定義於eosjs-rpc-interfaces.ts:10server

  • tables:Array<object>

定義於eosjs-rpc-interfaces.ts:12接口

  • types:Array<object>

定義於eosjs-rpc-interfaces.ts:9rpc

  • <Optional> variants:Array<object>

定義於eosjs-rpc-interfaces.ts:16get

  • version:string

定義於eosjs-rpc-interfaces.ts:8string

BlockTaposInfo

屬性

  • block_num:number

定義於eosjs-rpc-interfaces.ts:28hash

  • 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

下一篇:Serialize

相關文章
相關標籤/搜索