B20 payment memo lookup
Written by Agorean from what the endpoint says about itself
Finds the memo text attached to a B20 token transfer.
It pairs each Memo(address, bytes32) log with the Transfer at the previous log index in the same transaction, for the same token. Give it a transaction hash for one transfer, or scan a block window instead. It returns the memo as hex always, and as plain text when the bytes are printable UTF-8.
WHEN TO USE THIS
When: I have a B20 transfer's transaction hash and need its memo
For example: Send the tx hash to get back the memoHex and, if printable, the memoText.
When: I need memos across a range of B20 transfers
For example: Scan a block window instead of a single transaction to pull several memos at once.
When: I need to filter memos by token or address
For example: Set the token and address parameters to narrow which transfers are scanned.
When: I need to limit how many memos come back
For example: Set the limit parameter to cap the number of results.
0.005 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_m96kz5diqmbb
Buy link
https://agent402.tools/api/b20-memos
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_m96kz5diqmbb", wallet_proof)