{- "active": true,
- "address": "string",
- "gasTankId": 0,
- "name": "string",
- "projectId": 0
}
{- "gasSponsor": {
- "active": true,
- "address": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "gasTankId": 0,
- "id": 0,
- "name": "string",
- "projectId": 0,
- "updatedAt": "string"
}, - "status": true
}
{- "feeMarkupFactor": 0,
- "name": "string",
- "unlimited": true
}
{- "gasTank": {
- "createdAt": "string",
- "currentBalance": 0,
- "feeMarkupFactor": 0,
- "id": 0,
- "name": "string",
- "unlimited": true,
- "updatedAt": "string"
}, - "status": true
}
{- "address": "string",
- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
{- "gasSponsors": [
- {
- "active": true,
- "address": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "gasTankId": 0,
- "id": 0,
- "name": "string",
- "projectId": 0,
- "updatedAt": "string"
}
], - "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
{- "amount": 0,
- "id": 0,
- "nonce": 0
}
{- "adjustment": {
- "amount": 0,
- "balanceTimestamp": "string",
- "createdAt": "string",
- "gasTankId": 0,
- "nonce": 0,
- "totalBalance": 0
}, - "status": true
}
{- "data": "string",
- "simulate": true,
- "to": "string",
- "wallet": "string"
}
{- "options": [
- {
- "gasLimit": 0,
- "to": "string",
- "token": {
- "chainId": 0,
- "contractAddress": "string",
- "decimals": 0,
- "logoURL": "string",
- "name": "string",
- "symbol": "string",
- "tokenID": "string",
- "type": "UNKNOWN"
}, - "value": "string"
}
], - "quote": "string",
- "sponsored": true
}
OK
Client error
Server error
{ }
{- "isFeeRequired": true,
- "tokens": [
- {
- "chainId": 0,
- "contractAddress": "string",
- "decimals": 0,
- "logoURL": "string",
- "name": "string",
- "symbol": "string",
- "tokenID": "string",
- "type": "UNKNOWN"
}
]
}
TODO: return a string instead
OK
Client error
Server error
{ }
{- "chainID": 0
}
{- "id": 0
}
{- "gasSponsor": {
- "active": true,
- "address": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "gasTankId": 0,
- "id": 0,
- "name": "string",
- "projectId": 0,
- "updatedAt": "string"
}
}
{- "id": 0
}
{- "gasTank": {
- "createdAt": "string",
- "currentBalance": 0,
- "feeMarkupFactor": 0,
- "id": 0,
- "name": "string",
- "unlimited": true,
- "updatedAt": "string"
}
}
{- "id": 0,
- "nonce": 0
}
{- "adjustment": {
- "amount": 0,
- "balanceTimestamp": "string",
- "createdAt": "string",
- "gasTankId": 0,
- "nonce": 0,
- "totalBalance": 0
}
}
{- "gasTankId": 0,
- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}, - "projectId": 0
}
{- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}, - "transactions": [
- {
- "createdAt": "string",
- "creditsUsed": 0,
- "gasEstimated": 0,
- "gasFeeMarkup": 0,
- "gasLimit": 0,
- "gasPrice": "string",
- "gasSponsor": 0,
- "gasTank": 0,
- "gasUsed": 0,
- "id": 0,
- "input": "string",
- "isWhitelisted": true,
- "metaTxnID": "string",
- "metaTxnNonce": "string",
- "minedAt": "string",
- "projectId": 0,
- "queuedAt": "string",
- "requeues": 0,
- "sentAt": "string",
- "target": "string",
- "txnArgs": {
- "property1": { },
- "property2": { }
}, - "txnHash": "string",
- "txnNonce": "string",
- "txnReceipt": {
- "property1": { },
- "property2": { }
}, - "txnRevertReason": "string",
- "txnStatus": "UNKNOWN",
- "updatedAt": "string",
- "usdRate": "string",
- "walletAddress": "string"
}
]
}
TODO: deprecated, to be removed by https://github.com/0xsequence/stack/pull/356 at a later date
OK
Client error
Server error
{- "payload": "string",
- "walletConfig": { }
}
{- "options": [
- {
- "gasLimit": 0,
- "to": "string",
- "token": {
- "chainId": 0,
- "contractAddress": "string",
- "decimals": 0,
- "logoURL": "string",
- "name": "string",
- "symbol": "string",
- "tokenID": "string",
- "type": "UNKNOWN"
}, - "value": "string"
}
]
}
TODO: one day, make GetMetaTxnReceipt respond immediately with receipt or not and add WaitTransactionReceipt method, which will block and wait, similar to how GetMetaTxnReceipt is implemented now. For backwards compat, we can leave the current GetMetaTxnReceipt how it is, an deprecate it, and introduce new, GetTransactionReceipt and WaitTransactionReceipt methods we can also accept metaTxnId and txnHash .. so can take either or.. I wonder if ERC-4337 has any convention on this?
OK
Client error
Server error
{- "metaTxID": "string"
}
{- "receipt": {
- "id": "string",
- "index": 0,
- "logs": [
- {
- "address": "string",
- "data": "string",
- "topics": [
- "string"
]
}
], - "receipts": [
- { }
], - "revertReason": "string",
- "status": "string",
- "txnReceipt": "string"
}
}
OK
Client error
Server error
{ }
{- "data": {
- "factory": "string",
- "guestModule": "string",
- "mainModule": "string",
- "mainModuleUpgradable": "string",
- "utils": "string"
}
}
{- "gasTankId": 0,
- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}, - "projectId": 0
}
{- "gasSponsors": [
- {
- "active": true,
- "address": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "gasTankId": 0,
- "id": 0,
- "name": "string",
- "projectId": 0,
- "updatedAt": "string"
}
], - "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
{- "id": 0,
- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
{- "adjustments": [
- {
- "amount": 0,
- "balanceTimestamp": "string",
- "createdAt": "string",
- "gasTankId": 0,
- "nonce": 0,
- "totalBalance": 0
}
], - "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
Pending transactions waiting to be mined for an account. This endpoint is just a sugar of SentTransactions
with the filter set to pending: true.
object (Page) |
OK
Client error
Server error
{- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
{- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}, - "transactions": [
- {
- "blockNumber": 0,
- "chainId": 0,
- "metaTxnID": "string",
- "timestamp": "string",
- "transfers": [
- {
- "amounts": [
- "string"
], - "contractAddress": "string",
- "from": "string",
- "ids": [
- "string"
], - "to": "string",
- "transferType": "SEND"
}
], - "txnHash": "string",
- "users": {
- "property1": {
- "username": "string"
}, - "property2": {
- "username": "string"
}
}
}
]
}
{- "endTime": "string",
- "gasTankId": 0,
- "projectId": 0,
- "startTime": "string"
}
{- "gasSponsorUsage": [
- {
- "avgGasPrice": 0,
- "endTime": "string",
- "id": 0,
- "name": "string",
- "startTime": "string",
- "totalGasUsed": 0,
- "totalTxnFees": 0,
- "totalTxnFeesUsd": 0,
- "totalTxns": 0
}
]
}
OK
Client error
Server error
{ }
{- "status": {
- "branch": "string",
- "checks": { },
- "commitHash": "string",
- "healthOK": true,
- "numTxnsRelayed": {
- "current": 0,
- "period": 0,
- "prev": 0
}, - "senders": [
- {
- "active": true,
- "address": "string",
- "etherBalance": 0,
- "index": 0
}
], - "startTime": "string",
- "uptime": 0,
- "useEIP1559": true,
- "ver": "string"
}
}
Transactions TODO (future): rename this to just, 'SendTransaction(txn: MetaTransaction)' or 'SendTransaction(txn: SignedTransaction)', or something.. Project ID is only used by service and admin calls. Other clients must have projectID passed via the context TODO: rename return txnHash: string to metaTxnID: string
OK
Client error
Server error
{- "call": {
- "contract": "string",
- "input": "string",
- "walletAddress": "string"
}, - "projectID": 0,
- "quote": "string"
}
{- "status": true,
- "txnHash": "string"
}
Sent transactions from an account. If filter is omitted then it will return all transactions.
object (SentTransactionsFilter) | |
object (Page) |
OK
Client error
Server error
{- "filter": {
- "failed": true,
- "pending": true
}, - "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}
}
{- "page": {
- "after": { },
- "before": { },
- "column": "string",
- "more": true,
- "page": 0,
- "pageSize": 0,
- "sort": [
- {
- "column": "string",
- "order": "DESC"
}
], - "totalRecords": 0
}, - "transactions": [
- {
- "blockNumber": 0,
- "chainId": 0,
- "metaTxnID": "string",
- "timestamp": "string",
- "transfers": [
- {
- "amounts": [
- "string"
], - "contractAddress": "string",
- "from": "string",
- "ids": [
- "string"
], - "to": "string",
- "transferType": "SEND"
}
], - "txnHash": "string",
- "users": {
- "property1": {
- "username": "string"
}, - "property2": {
- "username": "string"
}
}
}
]
}
{- "transactions": "string",
- "wallet": "string"
}
{- "results": [
- {
- "executed": true,
- "gasLimit": 0,
- "gasUsed": 0,
- "reason": "string",
- "result": "string",
- "succeeded": true
}
]
}
{- "active": true,
- "id": 0,
- "name": "string"
}
{- "gasSponsor": {
- "active": true,
- "address": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "gasTankId": 0,
- "id": 0,
- "name": "string",
- "projectId": 0,
- "updatedAt": "string"
}, - "status": true
}
{- "feeMarkupFactor": 0,
- "id": 0,
- "name": "string",
- "unlimited": true
}
{- "gasTank": {
- "createdAt": "string",
- "currentBalance": 0,
- "feeMarkupFactor": 0,
- "id": 0,
- "name": "string",
- "unlimited": true,
- "updatedAt": "string"
}, - "status": true
}
TODO: deprecated, to be removed by https://github.com/0xsequence/stack/pull/356 at a later date
OK
Client error
Server error
{- "payload": "string",
- "walletAddress": "string",
- "walletConfig": { }
}
{- "payload": "string"
}
OK
Client error
Server error
{ }
{- "version": {
- "appVersion": "string",
- "schemaHash": "string",
- "schemaVersion": "string",
- "webrpcVersion": "string"
}
}