/approveColdRequest
1 min
POST
/approveColdRequest
request_idstring<p>ID of the send transaction request (get by using getBulletins).</p>
request_creator_idstringID of the sent transaction creator
request_typeinteger<p>Integer, 0 means TRANSACTION_REQUEST.</p>
outputsarray<p>List of outputs in the format [{"Amount":"596","Destination":"3AXdTF1GxHVugRzrndCPSAQEBd2BqBhMde"}]. List in all coins [(destination_address</p><div></div>,amount_to_transfer<div></div>)]. In XRP, it is optional to add a destination tag [(destination_address<div></div>, amount_to_transfer<div></div>, destination_tag<div></div>)]. In XLM, it is optional to add Memo [(destination_address<div></div>, amount_to_transfer<div></div>, StellarMemo<div></div>)].<p></p>
a_indexintegerAnswer index from getColdTransactionBulletins.
a_sharestringAnswer share from getColdTransactionBulletins.
a_randomstringAnswer random from getColdTransactionBulletins.
acceptstringGenerated from available response content types
bodyobject
200success
curl --request POST \
--url '/approveColdRequest?request_creator_id=john%40gk8.io&request_type=integer&outputs=array&a_index=1&a_share=5e6bf981304e094d72643445d003da1894ec0cf1&a_random=5e6bf981304e094d72643445d003da1894ec0cf1' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"FunctionData": {
"Answers": {
"Index": 1,
"Random": "07d55e6bf981304e094d72643445d003da1894ec0cf1b57b46136f105fd311d9af1f79266fdc1330daeb4314f9ba1c9124de0ff80514543edafc58bcab60e81d9aa34e8b2f3e70b6e6ed8da9106c90e5b976c4222c9ecf5dbc0ba00bc9c525cefc8f936f1823df4e7c233e7b2de442b3193c68aad70eec3cf095d929da90ef78",
"Share": "0,277f2ccc055bf46f4b962cf4ab958b7fafc17179424afa96f1246da6851e85bdc67eaa0f00fb0d28631bf8a52815f799c61383165054bd8effe22958715f506bd1911cf90875b493476916b5f40052b23b95bd4f6adaf869313b6784e76074149a7f0200d94335c229cb0f673daa9d76ad3609da856de09c30e4266f59d69f988735eb4acdbd12de35a3d42552d2ef7efa8a748152c921d13c289c96cbfcec2aaa24ccc1e7a1e76bc09d2c06af5d4e4f920c99c52ddc460138e346f0a639e8da0921710596ee9f4db801f3573efd4f1232032861daa8df60c11608da4833889e8b07ec1ca1fe9b29ec5b735c28f716730faebd7f0f36c8c1a717d3806ce7f08a"
},
"ApproversList": [
{
"UserId": "[email protected]"
}
],
"Outputs": [
{
"Amount": "6000000",
"Destination": "3Q9oEdmKU5w2p35gPrkBTkb2a9z44gLTAS"
}
],
"RequestCreator": "[email protected]",
"RequestCreatorName": "Matthew",
"RequestId": "d4f7ec035593d02ef1cf318cac7afed7",
"RequestType": 1,
"TxAccessToken": "a8c2b4da17998863be8c6270e65be24dec8e79eaea616a54a89184ec43379021"
},
"Meta": {
"FunctionName": "approveColdRequest",
"RandomData": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229",
"Destination": "b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea",
"Time": "2021-02-07T18:37:46.948Z",
"Source": "048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99",
"AccessToken": "dc677a163ffcb090c243c2e7574db515c2fe8a44e2e979987a0eaefd2646d34b"
}
}'