Create Transaction
GraphQL endpoint to add a transaction corresponding to an existing wallet address
Mutation:
Variables:
**primaryWalletAddress**
(required)transaction
(required)Enum for transaction type: BUY, SEND, MOBILE_APP_SWAP, WEB_APP_SWAP, PRESALE_BUY
Enum for Amount Type : ETH, BNB (optional and default null)
(This is being changed to String/Null)
Enum for Currency Type: USD, EUR (optional and default USD)
Example json payload:
Errors:
Code: 404 (User for wallet address not found)
Code: 400 (Testnet transactions not allowed)
Code: 409 (Transaction hash, chain id combination already exists)
Last updated