OperationType
in package
Operation type constants for Stellar operations
Defines integer constants for all operation types supported by the Stellar protocol. These values correspond to the type_i field in operation responses and match the operation type codes defined in the Stellar XDR specification.
Table of Contents
Constants
- ACCOUNT_MERGE = 8
- ALLOW_TRUST = 7
- BEGIN_SPONSORING_FUTURE_RESERVES = 16
- BUMP_SEQUENCE = 11
- CHANGE_TRUST = 6
- CLAIM_CLAIMABLE_BALANCE = 15
- CLAWBACK = 19
- CLAWBACK_CLAIMABLE_BALANCE = 20
- CREATE_ACCOUNT = 0
- CREATE_CLAIMABLE_BALANCE = 14
- CREATE_PASSIVE_SELL_OFFER = 4
- END_SPONSORING_FUTURE_RESERVES = 17
- EXTEND_FOOTPRINT_TTL = 25
- INFLATION = 9
- INVOKE_HOST_FUNCTION = 24
- LIQUIDITY_POOL_DEPOSIT = 22
- LIQUIDITY_POOL_WITHDRAW = 23
- MANAGE_BUY_OFFER = 12
- MANAGE_DATA = 10
- MANAGE_SELL_OFFER = 3
- PATH_PAYMENT = 2
- PATH_PAYMENT_STRICT_SEND = 13
- PAYMENT = 1
- RESTORE_FOOTPRINT = 26
- REVOKE_SPONSORSHIP = 18
- SET_OPTIONS = 5
- SET_TRUSTLINE_FLAGS = 21
Constants
ACCOUNT_MERGE
public
mixed
ACCOUNT_MERGE
= 8
ALLOW_TRUST
public
mixed
ALLOW_TRUST
= 7
BEGIN_SPONSORING_FUTURE_RESERVES
public
mixed
BEGIN_SPONSORING_FUTURE_RESERVES
= 16
BUMP_SEQUENCE
public
mixed
BUMP_SEQUENCE
= 11
CHANGE_TRUST
public
mixed
CHANGE_TRUST
= 6
CLAIM_CLAIMABLE_BALANCE
public
mixed
CLAIM_CLAIMABLE_BALANCE
= 15
CLAWBACK
public
mixed
CLAWBACK
= 19
CLAWBACK_CLAIMABLE_BALANCE
public
mixed
CLAWBACK_CLAIMABLE_BALANCE
= 20
CREATE_ACCOUNT
public
mixed
CREATE_ACCOUNT
= 0
CREATE_CLAIMABLE_BALANCE
public
mixed
CREATE_CLAIMABLE_BALANCE
= 14
CREATE_PASSIVE_SELL_OFFER
public
mixed
CREATE_PASSIVE_SELL_OFFER
= 4
END_SPONSORING_FUTURE_RESERVES
public
mixed
END_SPONSORING_FUTURE_RESERVES
= 17
EXTEND_FOOTPRINT_TTL
public
mixed
EXTEND_FOOTPRINT_TTL
= 25
INFLATION
public
mixed
INFLATION
= 9
INVOKE_HOST_FUNCTION
public
mixed
INVOKE_HOST_FUNCTION
= 24
LIQUIDITY_POOL_DEPOSIT
public
mixed
LIQUIDITY_POOL_DEPOSIT
= 22
LIQUIDITY_POOL_WITHDRAW
public
mixed
LIQUIDITY_POOL_WITHDRAW
= 23
MANAGE_BUY_OFFER
public
mixed
MANAGE_BUY_OFFER
= 12
MANAGE_DATA
public
mixed
MANAGE_DATA
= 10
MANAGE_SELL_OFFER
public
mixed
MANAGE_SELL_OFFER
= 3
PATH_PAYMENT
public
mixed
PATH_PAYMENT
= 2
PATH_PAYMENT_STRICT_SEND
public
mixed
PATH_PAYMENT_STRICT_SEND
= 13
PAYMENT
public
mixed
PAYMENT
= 1
RESTORE_FOOTPRINT
public
mixed
RESTORE_FOOTPRINT
= 26
REVOKE_SPONSORSHIP
public
mixed
REVOKE_SPONSORSHIP
= 18
SET_OPTIONS
public
mixed
SET_OPTIONS
= 5
SET_TRUSTLINE_FLAGS
public
mixed
SET_TRUSTLINE_FLAGS
= 21