GET
/
api
/
v1
/
accounts
/
calls
curl --location 'https://groupos.xyz/api/v1/account/calls' \
--request GET \
-d 'chainId=137' \
-d 'accountAddress=0x67F4732266C7300cca593C814d46bee72e40659F' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
{
  "success": true,
  "transactions": [
    {
      "timestamp": 1693332320,
      "status": "pending",
      "transactionHash": "0x58c789b7a59312ec0a659e165700db54af896d3e8b46e4aeecb33b32b88157c9",
      "transactionUrl": "https://goerli.etherscan.io/tx/0xef737091d8c3451b42659688abd86b51516a6b43ee7dbdbda53c9005d86167db",
      "gasSpent": null,
      "calls": [
        {
          "toAddress": "0xc517c83f417b73dA98647dad0FCB80af9f3b9531",
          "value": "420",
          "data": "0x"
        },
      ]
    },
    {
      "timestamp": 1691112320,
      "status": "success",
      "transactionHash": "0x50f3fee610ef31f5331f804e0fa8ed4db4001038bb47aec30bd79a9abb54384a",
      "transactionUrl": "https://polygonscan.com/tx/0x50f3fee610ef31f5331f804e0fa8ed4db4001038bb47aec30bd79a9abb54384a",
      "gasSpent": "0.000892184461308",
      "calls": [
        {
          "toAddress": "0xc517c83f417b73dA98647dad0FCB80af9f3b9531",
          "value": "0",
          "data": "0xf26152fc2b7d18cbec5134bf34da6d94c34456114a1c07b1ee8ba95e1cd78bef",
        },
        {
          "toAddress": "0xc517c83f417b73dA98647dad0FCB80af9f3b9531",
          "value": "0",
          "data": "0x4f784c0e18123f1bcf2019ca9bca613b21be0e82b4989466d1e84401ef31dfbb",
        },
      ]
    }
  ]
}

Query Params

chainId
number
required

The id of the chain supporting the NFT. This cannot be changed after creation.

accountAddress
string
required

The Account smart contract address.

page
number

Page index to fetch, page size is 50.

Response

success
boolean

Indicates whether the call was successful.

transactions
Transaction[]

Array of NFT objects.