Create Transfer Fields

Fields of a Solana Pay transfer request URL.

Attributes

recipient: Publickey

A single recipient field is required as the pathname. The value must be the base58-encoded public key of a native SOL account. Associated token accounts must not be used.

amount: float

A single amount field is required query parameter. The value must be a non-negative integer or decimal number of "user" units. For SOL, that's SOL and not lamports.

reference: List[Publickey] | Publickey | None

Multiple reference fields are allowed as optional query parameters. The values must be base58-encoded 32 byte arrays. These may or may not be public keys, on or off the curve, and may or may not correspond with accounts on Solana.