Get inbound STX transfers

Retrieves a list of STX transfers with memos to the given principal.

GET

/extended/v1/address/{principal}/stx_inbound

Retrieves a list of STX transfers with memos to the given principal.

This includes regular transfers from a stx-transfer transaction type and transfers from contract-call transactions.

Path parameters

principal
Required
string

Stacks address or a contract identifier

Example: "SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0"

Query parameters

limitinteger

Number of items to return

offsetinteger

Number of items to skip

Example: 42000

heightnumber

Filter for transfers only at this given block height

unanchoredboolean

Include transaction data from unanchored (i.e. unconfirmed) microblocks

Example: trueDefault: false

until_blockstring

Returned data representing the state up until that point in time, rather than the current block. Note: use either of the query parameters but not both at a time.

Example: 60000
Status codeDescription
200Success
Terminal
curl -X GET "https://api.mainnet.hiro.so/extended/v1/address/SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0/stx_inbound"

GET request that returns a list of inbound STX transfers with a memo

Example response
{
  "limit": 30,
  "offset": 0,
  "total": 0,
  "results": [
    {
      "sender": "string",
      "amount": "string",
      "memo": "string",
      "block_height": 0,
      "tx_id": "string",
      "transfer_type": "bulk-send",
      "tx_index": 0
    }
  ]
}