| Name | Type | Description | Notes |
|---|---|---|---|
| RecipientBlockchainIdentifier | string | The blockchain identifier of the recipient to whom you want to send a token or NFT. On Ethereum, this is the hex public address of the recipient (e.g., `0x150865ca659204a9a0cd0da00296c6b5db441172`) On Solana, this is the public key of the recipient (e.g., `EW3nXn7X4NTWFKWaJgxKrFNoTSkop1cBUVHA21zrfF6u`). | |
| Wallet | Pointer to GeneralWallet | [optional] | |
| TokenBlockchainIdentifier | Pointer to string | The `token_blockchain_identifier` identifies the token you wish to transfer. - If you're transferring a native blockchain currency (e.g., SOL, ETH, BNB), then simply do not supply this value. - If you're transfering an NFT, then supply the token address of the NFT. On Solana, this is the `mint_address` or `mint` (the address of the mint). - If you're transfering a token, supply the token address. For Solana, you can find on this on the Solana Explorer (e.g., see `SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt` for <a href="https://explorer.solana.com/address/SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt\" target="_blank">Serum Token</a>) for the `token_address`. Examples: - Ethereum: `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48` - Solana: `CK1LHEANTu7RFqN3XMzo2AnZhyus2W1vue1njrxLEM1d` | [optional] |
| Network | Pointer to string | The network of the blockchain you selected - Solana: `devnet`, `mainnet-beta` - Ethereum: `ropsten`, `mainnet` Defaults when not provided (not applicable to path parameters): - Solana: `devnet` - Ethereum: `ropsten` | [optional] |
| Amount | Pointer to string | This value must be a string. What you provide here depends on if you are sending an NFT, an SPL token, or SOL. - Native Currency (e.g., SOL, ETH, BNB): Supply this value denominated in the native currency (e.g., in SOL (but not in Lamports), or in ETH (but not in Wei)) in a string format. This does not need to be an integer. For example, if you want to send 0.0005 SOL, then `amount = "0.0005"`. If you want to send 0.0005 ETH, then `amount = "0.0005"`. - NFT: This must be `1`. - Token: This must be an integer in string format. To convert from what you see on a wallet UI (e.g., 1 ATLAS, 1 USDC) to an integer value, you have to multiply that value by 10^<i>x</i> where <i>x</i> is the number of decimals. For example, to transfer 0.2 USDC, if USDC uses 6 decimals, then the amount is 0.2 * 10^6 = 200000. - For Solana, you can get the number of decimals for a given SPL token <a href="#operation/solanaGetSPLToken">here</a>. We are working on analogues of this endpoint for other blockchains. | [optional] [default to "1"] |
| ReturnCompiledTransaction | Pointer to bool | - If `false`, we sign and submit the transaction (`wallet` is required in this case; do not provide a value for `sender_blockchain_identifier`). - If `true`, we compile the transaction (either `wallet` or `sender_blockchain_identifier` is required in this case; do not provide both). | [optional] [default to false] |
| SenderBlockchainIdentifier | Pointer to string | To understand the purpose of `sender_blockchain_identifier` first note the following: There are two ways you can complete a transfer transaction: - (1) we complete it for you with your `wallet` information or - (2) we return the raw instruction data that you can sign and submit yourself (no private keys required). When you provide your `wallet` authentication, we are able to determine your wallet's blockchain identifier (public key or address) which is the sender public key of the transaction. When you are not providing your `wallet` as authentication, we still need the `sender_blockchain_identifier` to be able to return the compiled transaction. Thus, you provide `sender_blockchain_identifier` if and only if you are not providing `wallet` authentication information and you are returning a compiled transaction. You will receive an error if you provide both `wallet` and `sender_blockchain_identifier`. You will receive an error if you provide neither `wallet` nor `sender_blockchain_identifier`. | [optional] [default to "null"] |
| FeePayerWallet | Pointer to GeneralFeePayerWallet | [optional] |
func NewGeneralTransferRequest(recipientBlockchainIdentifier string, ) *GeneralTransferRequest
NewGeneralTransferRequest instantiates a new GeneralTransferRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGeneralTransferRequestWithDefaults() *GeneralTransferRequest
NewGeneralTransferRequestWithDefaults instantiates a new GeneralTransferRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *GeneralTransferRequest) GetRecipientBlockchainIdentifier() string
GetRecipientBlockchainIdentifier returns the RecipientBlockchainIdentifier field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetRecipientBlockchainIdentifierOk() (*string, bool)
GetRecipientBlockchainIdentifierOk returns a tuple with the RecipientBlockchainIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetRecipientBlockchainIdentifier(v string)
SetRecipientBlockchainIdentifier sets RecipientBlockchainIdentifier field to given value.
func (o *GeneralTransferRequest) GetWallet() GeneralWallet
GetWallet returns the Wallet field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetWalletOk() (*GeneralWallet, bool)
GetWalletOk returns a tuple with the Wallet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetWallet(v GeneralWallet)
SetWallet sets Wallet field to given value.
func (o *GeneralTransferRequest) HasWallet() bool
HasWallet returns a boolean if a field has been set.
func (o *GeneralTransferRequest) GetTokenBlockchainIdentifier() string
GetTokenBlockchainIdentifier returns the TokenBlockchainIdentifier field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetTokenBlockchainIdentifierOk() (*string, bool)
GetTokenBlockchainIdentifierOk returns a tuple with the TokenBlockchainIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetTokenBlockchainIdentifier(v string)
SetTokenBlockchainIdentifier sets TokenBlockchainIdentifier field to given value.
func (o *GeneralTransferRequest) HasTokenBlockchainIdentifier() bool
HasTokenBlockchainIdentifier returns a boolean if a field has been set.
func (o *GeneralTransferRequest) GetNetwork() string
GetNetwork returns the Network field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetNetwork(v string)
SetNetwork sets Network field to given value.
func (o *GeneralTransferRequest) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (o *GeneralTransferRequest) GetAmount() string
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetAmount(v string)
SetAmount sets Amount field to given value.
func (o *GeneralTransferRequest) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *GeneralTransferRequest) GetReturnCompiledTransaction() bool
GetReturnCompiledTransaction returns the ReturnCompiledTransaction field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetReturnCompiledTransactionOk() (*bool, bool)
GetReturnCompiledTransactionOk returns a tuple with the ReturnCompiledTransaction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetReturnCompiledTransaction(v bool)
SetReturnCompiledTransaction sets ReturnCompiledTransaction field to given value.
func (o *GeneralTransferRequest) HasReturnCompiledTransaction() bool
HasReturnCompiledTransaction returns a boolean if a field has been set.
func (o *GeneralTransferRequest) GetSenderBlockchainIdentifier() string
GetSenderBlockchainIdentifier returns the SenderBlockchainIdentifier field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetSenderBlockchainIdentifierOk() (*string, bool)
GetSenderBlockchainIdentifierOk returns a tuple with the SenderBlockchainIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetSenderBlockchainIdentifier(v string)
SetSenderBlockchainIdentifier sets SenderBlockchainIdentifier field to given value.
func (o *GeneralTransferRequest) HasSenderBlockchainIdentifier() bool
HasSenderBlockchainIdentifier returns a boolean if a field has been set.
func (o *GeneralTransferRequest) GetFeePayerWallet() GeneralFeePayerWallet
GetFeePayerWallet returns the FeePayerWallet field if non-nil, zero value otherwise.
func (o *GeneralTransferRequest) GetFeePayerWalletOk() (*GeneralFeePayerWallet, bool)
GetFeePayerWalletOk returns a tuple with the FeePayerWallet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GeneralTransferRequest) SetFeePayerWallet(v GeneralFeePayerWallet)
SetFeePayerWallet sets FeePayerWallet field to given value.
func (o *GeneralTransferRequest) HasFeePayerWallet() bool
HasFeePayerWallet returns a boolean if a field has been set.