Skip to main content

EncodeURLComponents

Required and optional URL components to encode in a Solana Pay URL.

Hierarchy

Index

Properties

optionalamount

amount?: BigNumber

amount in the Solana Pay spec

optionallabel

label?: string

label in the Solana Pay spec

optionalmemo

memo?: string

memo in the Solana Pay spec

optionalmessage

message?: string

message in the Solana Pay spec

recipient

recipient: PublicKey

recipient in the Solana Pay spec

optionalreference

reference?: PublicKey | PublicKey[]

reference in the Solana Pay spec

optionalsplToken

splToken?: PublicKey

splToken in the Solana Pay spec