smart-wallets-service-api
GraphQL API Reference
GraphQl endpoints for smart-wallets!
API Endpoints
# devel:
https://smart-wallets.devel.original.works/graphql
# staging:
https://smart-wallets.stage.original.works/graphql
# prod:
https://smart-wallets.original.works/graphqlQueries
getExecution
getExecutionDescription
🔒 JWT Token
Returns execution by messageId.
Response
Returns a StartExecutionResDto!
Arguments
messageId - String!
Example
Query
Variables
Response
getExecutions
getExecutionsDescription
🔒 JWT Token
Returns all operations on the chain for the given user.
Response
Returns a StartExecutionListResDto!
Example
Query
Response
getOrCheckSmartWallet
getOrCheckSmartWalletDescription
🔒 JWT Token
Returns record of the smart wallet or false if does not exist.
Response
Returns a GetOrCheckSmartWalletDto!
Example
Query
Response
getSmartWallet
getSmartWalletDescription
🔒 JWT Token
Returns record of the smart wallet.
Response
Returns a SmartWalletDto!
Example
Query
Response
getSmartWalletRecord
getSmartWalletRecordDescription
🔒 JWT Token
Returns record of the smart wallet.
Response
Returns a SmartWalletDto!
Arguments
ownerUri - String!
unique id for tenant
Example
Query
Variables
Response
Mutations
createSmartWallet
createSmartWalletDescription
Variables
Response
deploySmartWallet
deploySmartWalletDescription
🔒 JWT Token
Variables
Response
startExecution
startExecutionDescription
🔒 JWT Token
Starts transactions on the chain.
Response
Returns a String!
Arguments
startExecutionArgs - StartExecutionReqDto!
Example
Query
Variables
Response
Types
Boolean
Description
The Boolean scalar type represents true or false.
Example
DateTime
Description
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Example
DeployedSmartWalletDto
Description
Smart wallet object
Fields
id - Float!
Unique identifier for the object.
networkName - NetworkName!
Name of the blockchain network
smartWalletId - Float!
Unique identifier for the smart wallet object.
messageId - String!
A unique value. It is used to identify messages in events.
statusOnChain - DeployedSmartWalletStatus!
Name of the blockchain network
createdAt - DateTime!
Time at which the object was created.
updatedAt - DateTime!
Time at which the object was last updated.
Example
DeployedSmartWalletStatus
Values
transaction_started
transaction_failed
transaction_successful
Example
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
GetOrCheckSmartWalletDto
Description
smart wallet address
Fields
smartWalletAddress - String
Example
NetworkName
Values
ropsten
kovan
ownet
mainnet
binance
bnbtest
sepolia
local
test
polygon
goerli
mumbai
ethereum
shibuya
amoy
base
baseSepolia
Example
SmartWalletDto
Description
Smart wallet object
Fields
ownerUri - String!
Unique identifier for the enterprise.
walletAddress - String!
Ethereum wallet address.
type - SmartWalletType!
Type of the smart wallet
deployedSmartWallets - [DeployedSmartWalletDto!]
createdAt - DateTime!
Time at which the object was created.
updatedAt - DateTime!
Time at which the object was last updated.
Example
SmartWalletType
Values
ENTERPRISE
RETAIL
Example
StartExecutionListResDto
Description
List of started executions on the chain for the given user
Fields
list - [StartExecutionResDto!]!
List of started executions on the chain for the given user
Example
StartExecutionReqDto
Description
Argument required for trigger transaction on the chain
Fields
Example
StartExecutionResDto
Description
Object of initiated chain transaction.
Fields
id - Float!
Unique identifier for the object.
deployedSmartWalletId - Float!
Unique identifier for the deployment of the smart wallet.
networkName - NetworkName!
Name of the blockchain network
transactionHash - String
Hash of a transaction if execution has been submitted to the blockchain
messageId - String!
A unique value generated by the client. It is used to identify messages in events.
userId - String!
Unique identifier for the user. The value comes from the auth0 token.
createdAt - DateTime!
Time at which the object was created.
updatedAt - DateTime!
Time at which the object was last updated.
Example
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
Last updated
Was this helpful?