Create Transactions

Creates the transaction to be signed by the user and sent to the blockchain.

Authentication

x-coinflow-auth-walletstring
x-coinflow-auth-blockchainstring
OR
x-coinflow-auth-session-keystring

Request

This endpoint expects an object.
amountdoubleRequired
merchantIdstringRequired
speedenumRequired
accountstring or objectRequired

One of:

  1. The token of the bank account/card that the user is withdrawing to
  2. An Apple Pay Response Object
tokenobjectOptional
From T, pick a set of properties whose keys are in the union K
evmTransferAuthorizationDataobjectOptional
bankAccountDetailsobjectOptional
addressobjectOptional

Response

Ok
transactionslist of strings

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)

Errors