Create Transactions
Creates the transaction to be signed by the user and sent to the blockchain.
Authentication
x-coinflow-auth-walletstring
The web3 wallet of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
x-coinflow-auth-blockchainstring
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
OR
x-coinflow-auth-session-keystring
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Request
This endpoint expects an object.
amount
merchantId
speed
account
One of:
- The token of the bank account/card that the user is withdrawing to
- An Apple Pay Response Object
token
From T, pick a set of properties whose keys are in the union K
evmTransferAuthorizationData
bankAccountDetails
address
Response
Ok
transactions
The transactions to be signed by the user and sent to the blockchain.
Solana - Transactions are base58 encoded. You can reconstruct them by calling Transaction.from(base58.decode(transaction))
Evm - Transactions are JSON stringified. You can reconstruct them by calling JSON.parse(transaction)

