GET Refund
Get a transaction payload that can be submitted on chain to initiate a refund for an expired, unfilled intent
get
Header parameters
apiKeystringRequired
The API key that was assigned to you by Native
Responses
200
Success
application/json
get
GET /bridge/v1/bridge/refund HTTP/1.1
Host: newapi.native.org
apiKey: text
Accept: */*
200
Success
{
"token": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"amount": "1000000000000000000",
"swapper": "0x1235dB6df8a915557fF1fD0B9098C5548F2e06e3",
"contract": {
"quoteId": "text",
"refundSignature": "text"
},
"txRequest": {
"target": "text",
"calldata": "text",
"value": "text"
}
}