Skip to Content
Solana PayTypesCreate Transfer Fields

Create Transfer Fields

CreateTransferFields is the typed dictionary accepted by create_transfer and validate_transfer.

FieldTypeRequiredMeaning
recipientPublicKeyYesRecipient wallet owner (never an associated token account).
amountDecimal | int | float | strYesSOL without spl_token, or the mint’s display unit with it. Prefer Decimal or text.
referenceSequence[PublicKey] | PublicKeyNoRead-only reference keys attached to the transfer.
memostrNoUTF-8 memo immediately before the transfer.
spl_tokenPublicKeyNoClassic SPL Token or basic Token-2022 mint.

SOL values must resolve to whole lamports. Token values must resolve to whole base units at the mint’s decimal precision. Both must fit in an unsigned 64-bit value.