Status
Returns the status of a provided inbound hash.
GEThttps://thor.nownodes.io/thorchain/tx/status/{hash}
Path parameters
hash*string
Example: "CF524818D42B63D25BBA0CCC4909F127CAA645C0F9CD07324F2824CC151A64C7"
Query parameters
Response
OK
Body
txTx (object)
planned_out_txsarray of PlannedOutTx
out_txsarray of Tx (object)
stages*TxStagesResponse (object)
Request
const response = await fetch('https://thor.nownodes.io/thorchain/tx/status/{hash}', {
method: 'GET',
headers: {},
});
const data = await response.json();
Response
{
"tx": {
"id": "CF524818D42B63D25BBA0CCC4909F127CAA645C0F9CD07324F2824CC151A64C7",
"chain": "BTC",
"from_address": "bcrt1q0s4mg25tu6termrk8egltfyme4q7sg3h8kkydt",
"to_address": "bcrt1qf3s7q037eancht7sg0aj995dht25rwrnqsf45e",
"coins": [
{
"asset": "BTC.BTC",
"amount": "100000",
"decimals": 6
}
],
"gas": [
{
"asset": "BTC.BTC",
"amount": "100000",
"decimals": 6
}
],
"memo": "ADD:BTC.BTC:thor1zupk5lmc84r2dh738a9g3zscavannjy3nzplwt"
},
"planned_out_txs": [
{
"chain": "BTC",
"to_address": "bcrt1qf3s7q037eancht7sg0aj995dht25rwrnqsf45e",
"coin": {
"asset": "BTC.BTC",
"amount": "100000",
"decimals": 6
},
"refund": false
}
],
"out_txs": [
{
"id": "CF524818D42B63D25BBA0CCC4909F127CAA645C0F9CD07324F2824CC151A64C7",
"chain": "BTC",
"from_address": "bcrt1q0s4mg25tu6termrk8egltfyme4q7sg3h8kkydt",
"to_address": "bcrt1qf3s7q037eancht7sg0aj995dht25rwrnqsf45e",
"coins": [
{
"asset": "BTC.BTC",
"amount": "100000",
"decimals": 6
}
],
"gas": [
{
"asset": "BTC.BTC",
"amount": "100000",
"decimals": 6
}
],
"memo": "ADD:BTC.BTC:thor1zupk5lmc84r2dh738a9g3zscavannjy3nzplwt"
}
],
"stages": {
"inbound_observed": {
"started": false,
"pre_confirmation_count": 80,
"final_count": 80,
"completed": false
},
"inbound_confirmation_counted": {
"counting_start_height": 1234,
"chain": "BTC",
"external_observed_height": 16042625,
"external_confirmation_delay_height": 16042626,
"remaining_confirmation_seconds": 600,
"completed": false
},
"inbound_finalised": {
"completed": false
},
"swap_status": {
"pending": false,
"streaming": {
"interval": 0,
"quantity": 0,
"count": 0
}
},
"swap_finalised": {
"completed": false
},
"outbound_delay": {
"remaining_delay_blocks": 5,
"remaining_delay_seconds": 30,
"completed": false
},
"outbound_signed": {
"scheduled_outbound_height": 1234,
"blocks_since_scheduled": 1234,
"completed": false
}
}
}