Explore Plans
Mobile menu Close menu
1Shot API

List Transactions

This query returns a listing of executed transactions using the filters you specify.

Developer info

API endpoint slug
1shotapi.list_transactions
Runtime method
performQuery("1shotapi.list_transactions"}

Query fields

Business Dropdown list

Label
Select the business you want Transactions from
Helper text
This is required
Slug
business_id
Required
false
Can have default value
false

Contract method Dropdown list

Label
Do you want to return Transactions from only a single Contract Method?
Helper text
Optional
Slug
contract_method_id
Required
false
Can have default value
false

Status Dropdown list

Label
Do you want transactions in only a particular status?
Helper text
Optional
Slug
status
Required
false
Can have default value
true

Chain Dropdown list

Label
Do you want transactions from only a single chain?
Helper text
Optional
Slug
chain_id
Required
false
Can have default value
false

Memo Text input > Other

Label
Do you want transactions that contain a particular memo?
Helper text
Will return partial matches- IE "illicit" will match transactions with memo "illicit activity". This is case-insensitive as well.
Slug
memo
Required
false
Can have default value
true

Created after Text input > Other

Label
Do you want to limit it to transactions created after a certain point in time?
Helper text
Optional
Slug
created_after
Required
false
Can have default value
true

Created before Text input > Audio

Label
Do you want to limit it to transactions created before a certain point in time?
Helper text
Optional
Slug
created_before
Required
false
Can have default value
true

Ingredients

Transaction This is the internal ID of the executed Transaction, which is a UUID.

Slug
transaction_id
Filter code
_1shotapi.listTransactions.TransactionId
Type
String
Example
a5981040-71d5-4662-bd03-d4542920db41

Contract method The internal ID of the Contract Method that generated this Transaction. This is a UUID.

Slug
contract_method_id
Filter code
_1shotapi.listTransactions.ContractMethodId
Type
String
Example
a5981040-71d5-4662-bd03-d4542920db41

Api credential This is the internal ID of the API credential that executed this Transaction. If it is blank, this Transaction was executed by a User instead. This is a UUID.

Slug
api_credential_id
Filter code
_1shotapi.listTransactions.ApiCredentialId
Type
String
Example
a5981040-71d5-4662-bd03-d4542920db41

User This is the internal ID of the User that executed this Transaction. If it is blank, this Transaction was executed by an API Credential instead. This is a UUID.

Slug
user_id
Filter code
_1shotapi.listTransactions.UserId
Type
String
Example
a5981040-71d5-4662-bd03-d4542920db41

Status The current status of the transaction.

Slug
status
Filter code
_1shotapi.listTransactions.Status
Type
String
Example
Completed

Transaction hash The hash of the transaction. This can be used to lookup the transaction in a block scanner.

Slug
transaction_hash
Filter code
_1shotapi.listTransactions.TransactionHash
Type
String
Example
0x5367dda2afde2cb84c69b597985fdde1df7a36bc87c8c114be9349ade9cb62d9

Memo The memo that was attached to the Transaction when it was executed.

Slug
memo
Filter code
_1shotapi.listTransactions.Memo
Type
String
Example
Payment for questionably legal services

Completed The date when the transaction was confirmed by 1Shot API

Slug
completed
Filter code
_1shotapi.listTransactions.Completed
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Created The date when the Transaction was started,

Slug
created
Filter code
_1shotapi.listTransactions.Created
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00