Roles on the swig
Find a Role by session key
Session-based Role
Find a Role by Ed25519 Signer Publickey
Ed25519 Publickey
Role[]
Find a Role by Authority Signer
Secp256k1 Signer Address hex or bytes
Role[]
Refetch the swig to invalidate stale account data. Updates the Swig with the lateset on-chain state
Connection
Optional
config: Commitment | GetAccountInfoConfigConnection config
Static
createGet Create
instruction for creating a new Swig
Swig ID
Swig payer
Instruction for creating a Swig
Static
fetchFetch a Swig. Throws an error if Swig account has not been created
Connection
Swig address
Optional
config: Commitment | GetAccountInfoConfigCommitment config
Swig | null
Static
fetchFetch a Swig. Returns null if Swig account has not been created
Connection
Swig address
Optional
config: Commitment | GetAccountInfoConfigCommitment config
Swig | null
Static
fromGet a swig from raw swig account data
Swig address
Raw account data
Swig
Swig ID