GetContractTxs returns contract-related transactions
Address of contract
"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r"
^inj1[0-9a-zA-Z]{38}$
OK response.
Paging defines the structure for required params for handling pagination
const response = await fetch('https://inj-indexer.nownodes.io/api/explorer/v1/contractTxs/{address}', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"data": [
{
"block_number": 8314399180387247000,
"block_timestamp": "1993-04-25T20:59:11Z",
"block_unix_timestamp": 11376347445097038000,
"claim_ids": [
3168973390518163500,
903561676231749600,
381101834913989200
],
"code": 1728740547,
"codespace": "Itaque laudantium inventore dolor non.",
"data": "TW9sZXN0aWFlIGFuaW1pIGNvbnNlY3RldHVyIHF1aWEu",
"error_log": "Velit velit esse harum ipsum incidunt sit.",
"events": [
{
"attributes": {
"Alias sint sed a ullam deleniti et.": "Quod similique.",
"Corrupti a velit ad.": "Est dolor.",
"Dolorem repellat nulla quaerat reprehenderit quia.": "Qui aliquam omnis."
},
"type": "Consequatur et dolor odit ipsum neque."
},
{
"attributes": {
"Alias sint sed a ullam deleniti et.": "Quod similique.",
"Corrupti a velit ad.": "Est dolor.",
"Dolorem repellat nulla quaerat reprehenderit quia.": "Qui aliquam omnis."
},
"type": "Consequatur et dolor odit ipsum neque."
}
],
"gas_fee": {
"amount": [
{
"amount": "10000000000000000000",
"denom": "inj"
},
{
"amount": "10000000000000000000",
"denom": "inj"
},
{
"amount": "10000000000000000000",
"denom": "inj"
},
{
"amount": "10000000000000000000",
"denom": "inj"
}
],
"gas_limit": 5325440998129688000,
"granter": "Ea ut molestias reiciendis itaque.",
"payer": "Quas voluptatum."
},
"gas_used": 6907220529879614000,
"gas_wanted": 1536953326908131300,
"hash": "Est et nemo quis nemo.",
"id": "Vel nobis.",
"info": "Sed sit.",
"logs": "UXVpYSB2ZWxpdCBxdWku",
"memo": "Consequatur voluptatem.",
"messages": "RmFjaWxpcyBhYiBpbXBlZGl0IHZlcml0YXRpcyBiZWF0YWUgZW5pbS4=",
"signatures": [
{
"address": "Deleniti omnis omnis est sint veritatis.",
"pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
"sequence": 13860614979966204000,
"signature": "Nesciunt velit voluptas."
},
{
"address": "Deleniti omnis omnis est sint veritatis.",
"pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
"sequence": 13860614979966204000,
"signature": "Nesciunt velit voluptas."
},
{
"address": "Deleniti omnis omnis est sint veritatis.",
"pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
"sequence": 13860614979966204000,
"signature": "Nesciunt velit voluptas."
}
],
"tx_number": 14619497193746444000,
"tx_type": "Sit nihil ut vitae assumenda ipsam."
},
{
"block_number": 8314399180387247000,
"block_timestamp": "1993-04-25T20:59:11Z",
"block_unix_timestamp": 11376347445097038000,
"claim_ids": [
3168973390518163500,
903561676231749600,
381101834913989200
],
"code": 1728740547,
"codespace": "Itaque laudantium inventore dolor non.",
"data": "TW9sZXN0aWFlIGFuaW1pIGNvbnNlY3RldHVyIHF1aWEu",
"error_log": "Velit velit esse harum ipsum incidunt sit.",
"events": [
{
"attributes": {
"Alias sint sed a ullam deleniti et.": "Quod similique.",
"Corrupti a velit ad.": "Est dolor.",
"Dolorem repellat nulla quaerat reprehenderit quia.": "Qui aliquam omnis."
},
"type": "Consequatur et dolor odit ipsum neque."
},
{
"attributes": {
"Alias sint sed a ullam deleniti et.": "Quod similique.",
"Corrupti a velit ad.": "Est dolor.",
"Dolorem repellat nulla quaerat reprehenderit quia.": "Qui aliquam omnis."
},
"type": "Consequatur et dolor odit ipsum neque."
}
],
"gas_fee": {
"amount": [
{
"amount": "10000000000000000000",
"denom": "inj"
},
{
"amount": "10000000000000000000",
"denom": "inj"
},
{
"amount": "10000000000000000000",
"denom": "inj"
},
{
"amount": "10000000000000000000",
"denom": "inj"
}
],
"gas_limit": 5325440998129688000,
"granter": "Ea ut molestias reiciendis itaque.",
"payer": "Quas voluptatum."
},
"gas_used": 6907220529879614000,
"gas_wanted": 1536953326908131300,
"hash": "Est et nemo quis nemo.",
"id": "Vel nobis.",
"info": "Sed sit.",
"logs": "UXVpYSB2ZWxpdCBxdWku",
"memo": "Consequatur voluptatem.",
"messages": "RmFjaWxpcyBhYiBpbXBlZGl0IHZlcml0YXRpcyBiZWF0YWUgZW5pbS4=",
"signatures": [
{
"address": "Deleniti omnis omnis est sint veritatis.",
"pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
"sequence": 13860614979966204000,
"signature": "Nesciunt velit voluptas."
},
{
"address": "Deleniti omnis omnis est sint veritatis.",
"pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
"sequence": 13860614979966204000,
"signature": "Nesciunt velit voluptas."
},
{
"address": "Deleniti omnis omnis est sint veritatis.",
"pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
"sequence": 13860614979966204000,
"signature": "Nesciunt velit voluptas."
}
],
"tx_number": 14619497193746444000,
"tx_type": "Sit nihil ut vitae assumenda ipsam."
}
],
"paging": {
"countBySubaccount": 3144167030999342600,
"from": 1916499695,
"next": [
"Ea rerum.",
"Aut dolorem cum voluptas quae.",
"Voluptas repellendus qui ipsam est."
],
"to": 391437627,
"total": 7364854934794692000
}
}