Transactions API
Authentication
Sending a request
Example
import { superstateApiKeyRequest, TransactionStatus } from '@superstateinc/api-key-request';
const transactions = await superstateApiKeyRequest({
apiKey: SUPERSTATE_API_KEY,
apiSecret: SUPERSTATE_API_SECRET,
endpoint: "/v2/transactions",
method: "GET",
queryParams: {
from_timestamp: "2024-10-01T00:00:00Z",
transaction_status: TransactionStatus.Pending,
transaction_type: "Purchase,Redeem",
},
});
console.log(transactions);Query parameters
transaction_status
Property
Value
transaction_type
Property
Value
Category
Types
from_timestamp
Property
Value
until_timestamp
Property
Value
from_price_timestamp
Property
Value
until_price_timestamp
Property
Value
transaction_hash
Property
Value
from_address
Property
Value
to_address
Property
Value
source_chain_id
Property
Value
destination_chain_id
Property
Value
source_chain_name
Property
Value
destination_chain_name
Property
Value
dip_market_id
Property
Value
entity_id
Property
Value
subaccount_id
Property
Value
Combining filters
Response
Error responses
Status Code
Description
Last updated