Skip to main content Link Menu Expand (external link) Document Search Copy Copied

ChainTransferSolanaSpl

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: SOL
 
getFrom() string The blockchain address to send the fungible tokens from
Example: BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs
 
getTo() string The blockchain address to send the fungible tokens to
Example: FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ
 
getContractAddress() string The blockchain address of the fungible tokens
Example: FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ
 
getAmount() string The amount of the fungible tokens to be sent
Example: 100000
 
getDigits() float The number of decimal places that the fungible tokens have
Example: 18
 
getFromPrivateKey() string The private key of the blockchain address that you are sending the fungible tokens from (the address that you specified in the from parameter); the transaction fee will be deducted from this address
Example: YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf
 
getFeePayer() string The blockchain address from which the fee will be deducted; if not set, defaults to the address that you specified in the from parameter
Example: BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs
[optional]
getFeePayerPrivateKey() string The private key of the blockchain address that you specified in the feePayer parameter; if not set, defaults to the private key that you specified in the fromPrivateKey parameter
Example: YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf
[optional]