Transaction Operations

Transaction Input Type

For creating and updating transactions, you'll use a TransactionInput type in your GraphQL schema:

input TransactionInput {
    type: String!
    amount: Float!
    currency_value: Float!
    timestamp: String!
    details: String
}

Supported Transaction Types

  • Types: "buy", "send", "mobile-app-swap", "web-app-swap", "presale-buy"

Usage Example

These GraphQL operations would be sent as POST requests to [<http://dashboard.withblaze.app/api/graphql>], with the appropriate variables filled in as per the operation's requirements. The x-api-key should be included in the headers for authentication.

Last updated