Skip to main content
POST
Build a one-operation approve(owner, spender, 0, 0) transaction that revokes a SEP-41 allowance (architecture.md §12). Unsigned - the caller signs and submits it.

Authorizations

Authorization
string
header
required

Integrator API key

Path Parameters

network
enum<string>
required
Available options:
testnet,
mainnet

Body

application/json
owner
string
required

The account whose allowance this is (G...).

token
string
required

The token contract the allowance is on (C...).

spender
string
required

The spender being revoked (C... or G...).

Response

The unsigned revocation transaction.

transaction
string
required

Unsigned revocation transaction envelope (base64 XDR).

Example:

"AAAAAgAAAAB..."