Swig TS — API References
Preparing search index...
@swig-wallet/coder
Module @swig-wallet/coder - v1.3.0
Swig TS SDK
This module hosts the source for interacting with the Swig program in typescript.
Enumerations
AuthorityType
NumericType
Permission
ProgramScopeType
R1AuthenticationType
SwigAccountDiscriminator
SwigInstructionDiscriminator
WebAuthnField
Classes
HuffmanEncoder
Type Aliases
AccountMetaLike
AccountPayload
ActionHeader
AddAuthorityV1AuthorityPayload
AddAuthorityV1AuthorityPayloadArgs
AddAuthorityV1InstructionData
AddAuthorityV1InstructionDataArgs
CompactInstruction
CreateSessionV1InstructionAuthorityPayload
CreateSessionV1InstructionAuthorityPayloadArgs
CreateSessionV1InstructionData
CreateSessionV1InstructionDataArgs
CreateV1InstructionData
CreateV1InstructionDataArgs
Ed25519SessionAuthorityData
Position
ProgramCurated
ProgramLimit
ProgramScope
RemoveAuthorityV1AuthorityPayloadArgs
RemoveAuthorityV1InstructionData
RemoveAuthorityV1InstructionDataArgs
Secp256k1CreateSessionAuthorityData
Secp256k1SessionAuthorityData
Secp256k1SessionAuthorityDataArgs
Secp256r1CreateSessionAuthorityData
Secp256r1SessionAuthorityData
Secp256r1SessionAuthorityDataArgs
Secp256r1SignatureInstructionData
SignV1InstructionData
SignV1InstructionDataArgs
SolLimit
SolRecurringLimit
StakeLimit
StakeRecurringLimit
SubAccount
SubAccountCreateV1InstructionData
SubAccountCreateV1InstructionDataArgs
SubAccountSignV1InstructionData
SubAccountSignV1InstructionDataArgs
SubAccountToggleV1InstructionData
SubAccountToggleV1InstructionDataArgs
SubAccountWithdrawV1InstructionData
SubAccountWithdrawV1InstructionDataArgs
SwigAccount
SwigSubAccount
TokenLimit
TokenRecurringLimit
Variables
ACTION_HEADER_LENGTH
POSITION_LENGTH
Functions
getAccountPayloadEncoder
getAccountsPayloadEncoder
getActionHeaderCodec
getActionHeaderDecoder
getActionHeaderEncoder
getAddAuthorityV1AuthorityPayloadEncoder
getAddAuthorityV1InstructionCodec
getAuthorityTypeCodec
getAuthorityTypeDecoder
getAuthorityTypeEncoder
getCompactInstructionDecoder
getCompactInstructionEncoder
getCompactInstructionsDecoder
getCompactInstructionsEncoder
getCreateSecp256k1SessionDecoder
getCreateSecp256k1SessionEncoder
getCreateSecp256r1SessionDecoder
getCreateSecp256r1SessionEncoder
getCreateSessionV1AuthorityPayloadCodec
getCreateSessionV1InstructionCodec
getCreateV1InstructionDataCodec
getEd25519SessionDecoder
getEd25519SessionEncoder
getNumericTypeDecoder
getNumericTypeEncoder
getPermissionCodec
getPermissionDecoder
getPermissionEncoder
getPositionDecoder
getProgramCuratedCodec
getProgramCuratedDecoder
getProgramCuratedEncoder
getProgramLimitCodec
getProgramLimitDecoder
getProgramLimitEncoder
getProgramScopeDecoder
getProgramScopeEncoder
getProgramScopeTypeDecoder
getProgramScopeTypeEncoder
getRemoveAuthorityV1AuthorityPayloadEncoder
getRemoveAuthorityV1InstructionCodec
getSecp256k1SessionDecoder
getSecp256k1SessionEncoder
getSecp256r1SessionDecoder
getSecp256r1SessionEncoder
getSecp256r1SignatureInstructionDataEncoder
getSignV1InstructionCodec
getSolLimitCodec
getSolLimitDecoder
getSolLimitEncoder
getSolRecurringLimitCodec
getSolRecurringLimitDecoder
getSolRecurringLimitEncoder
getStakeLimitCodec
getStakeLimitDecoder
getStakeLimitEncoder
getStakeRecurringLimitCodec
getStakeRecurringLimitDecoder
getStakeRecurringLimitEncoder
getSubAccountCodec
getSubAccountCreateV1InstructionDataCodec
getSubAccountDecoder
getSubAccountEncoder
getSubAccountSignV1InstructionDataCodec
getSubAccountToggleV1InstructionDataCodec
getSubAccountWithdrawV1InstructionDataCodec
getSwigAccountDiscriminatorDecoder
getSwigAccountDiscriminatorEncoder
getSwigCodec
getSwigInstructionDiscriminatorDecoder
getSwigInstructionDiscriminatorEncoder
getSwigSubAccountCodec
getTokenLimitCodec
getTokenLimitDecoder
getTokenLimitEncoder
getTokenRecurringLimitCodec
getTokenRecurringLimitDecoder
getTokenRecurringLimitEncoder
identifySwigInstruction
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Swig
TS
SDK
Enumerations
Authority
Type
Numeric
Type
Permission
Program
Scope
Type
R1
Authentication
Type
Swig
Account
Discriminator
Swig
Instruction
Discriminator
Web
Authn
Field
Classes
Huffman
Encoder
Type Aliases
Account
Meta
Like
Account
Payload
Action
Header
Add
Authority
V1
Authority
Payload
Add
Authority
V1
Authority
Payload
Args
Add
Authority
V1
Instruction
Data
Add
Authority
V1
Instruction
Data
Args
Compact
Instruction
Create
Session
V1
Instruction
Authority
Payload
Create
Session
V1
Instruction
Authority
Payload
Args
Create
Session
V1
Instruction
Data
Create
Session
V1
Instruction
Data
Args
Create
V1
Instruction
Data
Create
V1
Instruction
Data
Args
Ed25519
Session
Authority
Data
Position
Program
Curated
Program
Limit
Program
Scope
Remove
Authority
V1
Authority
Payload
Args
Remove
Authority
V1
Instruction
Data
Remove
Authority
V1
Instruction
Data
Args
Secp256k1
Create
Session
Authority
Data
Secp256k1
Session
Authority
Data
Secp256k1
Session
Authority
Data
Args
Secp256r1
Create
Session
Authority
Data
Secp256r1
Session
Authority
Data
Secp256r1
Session
Authority
Data
Args
Secp256r1
Signature
Instruction
Data
Sign
V1
Instruction
Data
Sign
V1
Instruction
Data
Args
Sol
Limit
Sol
Recurring
Limit
Stake
Limit
Stake
Recurring
Limit
Sub
Account
Sub
Account
Create
V1
Instruction
Data
Sub
Account
Create
V1
Instruction
Data
Args
Sub
Account
Sign
V1
Instruction
Data
Sub
Account
Sign
V1
Instruction
Data
Args
Sub
Account
Toggle
V1
Instruction
Data
Sub
Account
Toggle
V1
Instruction
Data
Args
Sub
Account
Withdraw
V1
Instruction
Data
Sub
Account
Withdraw
V1
Instruction
Data
Args
Swig
Account
Swig
Sub
Account
Token
Limit
Token
Recurring
Limit
Variables
ACTION_
HEADER_
LENGTH
POSITION_
LENGTH
Functions
get
Account
Payload
Encoder
get
Accounts
Payload
Encoder
get
Action
Header
Codec
get
Action
Header
Decoder
get
Action
Header
Encoder
get
Add
Authority
V1
Authority
Payload
Encoder
get
Add
Authority
V1
Instruction
Codec
get
Authority
Type
Codec
get
Authority
Type
Decoder
get
Authority
Type
Encoder
get
Compact
Instruction
Decoder
get
Compact
Instruction
Encoder
get
Compact
Instructions
Decoder
get
Compact
Instructions
Encoder
get
Create
Secp256k1
Session
Decoder
get
Create
Secp256k1
Session
Encoder
get
Create
Secp256r1
Session
Decoder
get
Create
Secp256r1
Session
Encoder
get
Create
Session
V1
Authority
Payload
Codec
get
Create
Session
V1
Instruction
Codec
get
Create
V1
Instruction
Data
Codec
get
Ed25519
Session
Decoder
get
Ed25519
Session
Encoder
get
Numeric
Type
Decoder
get
Numeric
Type
Encoder
get
Permission
Codec
get
Permission
Decoder
get
Permission
Encoder
get
Position
Decoder
get
Program
Curated
Codec
get
Program
Curated
Decoder
get
Program
Curated
Encoder
get
Program
Limit
Codec
get
Program
Limit
Decoder
get
Program
Limit
Encoder
get
Program
Scope
Decoder
get
Program
Scope
Encoder
get
Program
Scope
Type
Decoder
get
Program
Scope
Type
Encoder
get
Remove
Authority
V1
Authority
Payload
Encoder
get
Remove
Authority
V1
Instruction
Codec
get
Secp256k1
Session
Decoder
get
Secp256k1
Session
Encoder
get
Secp256r1
Session
Decoder
get
Secp256r1
Session
Encoder
get
Secp256r1
Signature
Instruction
Data
Encoder
get
Sign
V1
Instruction
Codec
get
Sol
Limit
Codec
get
Sol
Limit
Decoder
get
Sol
Limit
Encoder
get
Sol
Recurring
Limit
Codec
get
Sol
Recurring
Limit
Decoder
get
Sol
Recurring
Limit
Encoder
get
Stake
Limit
Codec
get
Stake
Limit
Decoder
get
Stake
Limit
Encoder
get
Stake
Recurring
Limit
Codec
get
Stake
Recurring
Limit
Decoder
get
Stake
Recurring
Limit
Encoder
get
Sub
Account
Codec
get
Sub
Account
Create
V1
Instruction
Data
Codec
get
Sub
Account
Decoder
get
Sub
Account
Encoder
get
Sub
Account
Sign
V1
Instruction
Data
Codec
get
Sub
Account
Toggle
V1
Instruction
Data
Codec
get
Sub
Account
Withdraw
V1
Instruction
Data
Codec
get
Swig
Account
Discriminator
Decoder
get
Swig
Account
Discriminator
Encoder
get
Swig
Codec
get
Swig
Instruction
Discriminator
Decoder
get
Swig
Instruction
Discriminator
Encoder
get
Swig
Sub
Account
Codec
get
Token
Limit
Codec
get
Token
Limit
Decoder
get
Token
Limit
Encoder
get
Token
Recurring
Limit
Codec
get
Token
Recurring
Limit
Decoder
get
Token
Recurring
Limit
Encoder
identify
Swig
Instruction
Swig TS — API References
Loading...