자산 이전 결과(txid) 전송

REPORT_TRANSFER_RESULT

POST /api/v1/code/api-payloads

Input Body

{
    "allianceName": "CODE",
    "apiType": "REPORT_TRANSFER_RESULT",
    "request": {
        "transferId": "b09c8d00-8da9-11ec-b909-0242ac120002",
        "txid": "311BFF73D9B7969CCF1042186180159C724FAB59013A7A034A93E5FB9D6BAFE6",
        "vout": ""
    }
}

Example Request

curl --location 'localhost:8787/api/v1/code/api-payloads' \
--data '{
    "apiType": "REPORT_TRANSFER_RESULT",
    "request": {
        "transferId": "b09c8d00-8da9-11ec-b909-0242ac120002",
        "txid": "311BFF73D9B7969CCF1042186180159C724FAB59013A7A034A93E5FB9D6BAFE6",
        "vout": ""
    }
}'

Example Response

{
  "signature": "29ktWj99lw3SaWVhpyN4AAzRj6PjevxcHT/++MvA+0WIe7eS/MVZNfKn8hVC3bCeskiiR+4yODAFfTIkV5eLDw==",
  "nonce": 1969634768,
  "dateTime": "2023-06-21T05:24:54Z",
  "publicKey": "LOpv3Vd7PKLrlDmk/MFi6mc2rPWhi3G0H3D74dayxSo=",
  "body": "{\"transferId\":\"b09c8d00-8da9-11ec-b909-0242ac120002\",\"txid\":\"311BFF73D9B7969CCF1042186180159C724FAB59013A7A034A93E5FB9D6BAFE6\",\"vout\":\"\"}"
}

Last updated