Transaction

Get transaction detail.

Method

atomicalsTransaction

Parameters

{
  txid: string
}

Example

Code

const txid = '8a14f790e4bf959d1dc1ee638b73b89cba49b289c0f7996badd7ce5c75a0c46a'
const result: ToResult<AtomicalTxResponse> = await api.atomicalsTransaction({
  params: { txid },
})

Result

{
  "height": 881981,
  "info": {},
  "op": "transfer",
  "transfers": {
    "burned_fts": {},
    "inputs": {
      "1": [
        {
          "address": "bc1p5ejhxyjpycj4djyujk6qa0th4qymmtuputwa7qrpxrutdg6lvxyszmh5fk",
          "atomical_id": "1618c6541bdb51ba2777d2c48c0fbb8619e16b59be51f25828af74c3a05832f4i0",
          "index": 1,
          "type": "NFT",
          "value": 1000
        }
      ]
    },
    "is_burned": false,
    "is_cleanly_assigned": true,
    "outputs": {
      "0": [
        {
          "address": "bc1p6v6nacf7yysmx98hj7h6tjmmj52reets477nql68v7egtla3j3lqg9pf4z",
          "atomical_id": "1618c6541bdb51ba2777d2c48c0fbb8619e16b59be51f25828af74c3a05832f4i0",
          "index": 0,
          "type": "NFT",
          "value": 1000
        }
      ]
    }
  },
  "tx_num": 1150282162,
  "txid": "8a14f790e4bf959d1dc1ee638b73b89cba49b289c0f7996badd7ce5c75a0c46a"
}