본문으로 건너뛰기

chain_api.push_transaction ​

disabled

The chain_api plugin is defined in source but not enabled on public nodes; the namespace is not registered.

Purpose ​

트랜잭션을 노드에 푸시합니다.

파라미터: 래퍼 없이 서명된 트랜잭션 객체 그 자체: ref_block_num:int; ref_block_prefix:int; expiration:timestamp; operations:array; extensions:array; signatures:array

success:bool을 반환하며, 실패 시 error:string을 반환합니다.

Parameters ​

PARAMETERS
json
{
  "ref_block_num": 0,
  "ref_block_prefix": 0,
  "expiration": "1970-01-01T00:00:00",
  "operations": [],
  "extensions": [],
  "signatures": []
}

⚠ steem 소스 코드에 정의되어 있지만, 퍼블릭 노드에서는 활성화되지 않았습니다.

Example ​

BASH
bash
# NOTE: this method is no longer served by public nodes
curl -s https://api.steemit.com \
  -H 'Content-Type: application/json' \
  --data-binary '{
    "jsonrpc": "2.0",
    "method": "chain_api.push_transaction",
    "params": {
      "ref_block_num": 0,
      "ref_block_prefix": 0,
      "expiration": "1970-01-01T00:00:00",
      "operations": [],
      "extensions": [],
      "signatures": []
    },
    "id": 1
  }'

Response ​

RESPONSE
json
{
  "success": true,
  "error": null
}

Expected curl responses ​

EXPECTED RESPONSES
text
Could not find API chain_api