GetExpectedTotemTransfers
Retrieves expected (unconfirmed) totem transfers that are pending in the mempool.
Endpoint: GET /nxt?requestType=GetExpectedTotemTransfers
Parameters:
- totem (long, optional): Totem ID to filter by
- account (long, optional): Account ID to filter by (sender or recipient)
- includeTotemInfo (boolean, optional, default: false): Include totem information in results
Request Example: /nxt?requestType=GetExpectedTotemTransfers&totem=123456789&account=111111111
Response:
{
"transfers": [
{
"totemTransferFullHash": "abc123...",
"chain": 1,
"totem": "123456789",
"sender": "111111111",
"recipient": "222222222",
"quantityQNT": "100000000"
}
]
}
Response Fields:
- transfers: array - Array of expected transfer objects
- transfers[].totemTransferFullHash: string - Full hash of the transfer transaction
- transfers[].chain: number - Chain ID
- transfers[].totem: string - Totem ID (unsigned string)
- transfers[].sender: string - Sender account ID (unsigned string)
- transfers[].recipient: string - Recipient account ID (unsigned string)
- transfers[].quantityQNT: string - Quantity to transfer in Quantum Units
- transfers[].totemInfo: object - Only if includeTotemInfo=true, contains totem details from putTotemInfo()
- transfers[].signature: string - Transaction signature
- transfers[].signatureHash: string - Hash of the signature
- transfers[].fullHash: string - Full hash of the transaction
- transfers[].transaction: string - Transaction ID (unsigned string)
- transfers[].type: number - Transaction type
- transfers[].subtype: number - Transaction subtype
- transfers[].timestamp: number - Transaction timestamp
- transfers[].deadline: number - Transaction deadline
- transfers[].senderPublicKey: string - Sender's public key
- transfers[].feeMTA: string - Transaction fee in MTA
- transfers[].ecBlockId: string - EC block ID
- transfers[].ecBlockHeight: number - EC block height
Source: GetExpectedTotemTransfers.java, JSONData.expectedTotemTransfer() Notes: Returns transfers in mempool but not yet confirmed. Filters by totem or account. Can query by chain.