Replies: 1 comment 1 reply
-
on explorer account tx page, it lists all txs include fee payer ones, you can use the same code example of an account sending fee payer https://explorer.aptoslabs.com/account/0x4f2e63be8e7fe287836e29cde6f3d5cbc96eefd0c0e3f3747668faa2ae7324b0?network=testnet |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
dimaa6_abc
Describe your question in detail.
Suppose I want to fetch all the transactions which change APT balance of an address. I can query for deposit_events and withdrawal_events for my address of interest, this covers APT transfers. For transaction fees, I can use accounts/address/transactions endpoint and get all transactions submitted by the account. Almost there, but concept of gas sponsorship is not covered by the approach above. accounts/address/transactions API returns only txs submitted by the address, not the ones signed by the address (fee sponsor is supposed to sign the tx, so if it returned all signed txs, I will be OK).
Is there any endpoint we can use to fetch either txs where fee is paid by the address, or txs which are signed by the address, including fee payer role?
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
N/A
Which SDK or tool are you using? (if any)
REST API
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions