- Mutations
- createUser
- updateUser
- updateUserNotifications
- setViewerPreference
- deleteViewerPreference
- createPersonalFreeOrganization
- activateWallet
- joinOrganization
- updateOrganizationMember
- disableOrganizationMember
- enableOrganizationMember
- sendOrganizationMemberInvitation
- resendOrganizationMemberInvitation
- revokeOrganizationMemberInvitation
- createGasTank
- fundGasTankViaLevainFaucet
- addOrganizationNetwork
- updateWallet
- createWallet
- fundFromGasTank
- addWalletAccess
- revokeWalletAccess
- updateWalletAccess
- setWalletPolicyApprovalThreshold
- createPolicyWhitelist
- updatePolicyWhitelist
- disablePolicyWhitelist
- createWebhookSignatureKey
- deleteWebhookSignatureKey
- refreshTransactionRequestStatus
- createTransactionRequest
- createRequest
- withdrawTransactionRequest
- send
- submitSignature
- submitSignatures
- executeTransaction
- createTransactionDigests
- deleteRequest
- createWalletDepositAddress
- updateWalletDepositAddress
- deployWalletDepositAddress
- flushWalletDepositAddress
- flushWalletDepositAddressV2
- batchFlushWalletDepositAddresses
- activateWalletDeposit
- approveTransactionRequest
- rejectTransactionRequest
- createSignatureRequest
- approveSignatureRequest
- requestOwnerSignatures
- resolveEIP1271Signature
- rejectTransactionRequestSignature
- setWalletFinalApprover
- disableWalletSigner
- shareWalletKey
- registerWalletPassword
- createKey
- updateKey
- createWebhook
- deleteWebhook
Mutations
The mutation
type defines GraphQL operations that change data on the server.
Complementing the Query
type, the Mutation
type defines GraphQL operations that create, update, and delete data.
It is analogous to performing HTTP verbs such as POST
, PATCH
, and DELETE
.
createUser
Creates a new user.
Return type: User!
createUser
Input fields for Name | Description |
---|---|
| Parameters required to create a new user. |
updateUser
Update profile details of a user.
Return type: Boolean!
updateUser
Input fields for Name | Description |
---|---|
| Parameters required to update user details. |
updateUserNotifications
Update notification preferences of a user.
Return type: Boolean!
updateUserNotifications
Input fields for Name | Description |
---|---|
Parameters required to update user notification preferences. |
setViewerPreference
Set a user preference, creating it if it does not exist.
Return type: UserPreference!
setViewerPreference
Input fields for Name | Description |
---|---|
| Parameters of the user preference to set. |
deleteViewerPreference
Delete a user preference.
Return type: UserPreference!
deleteViewerPreference
Input fields for Name | Description |
---|---|
Parameters of the user preference to delete. |
createPersonalFreeOrganization
Creates a free personal organization for the authenticated user.
Return type: Organization!
activateWallet
Activates a wallet after checking if the wallet contract deployment has sufficient confirmations on the blockchain.
Return type: Wallet!
activateWallet
Input fields for Name | Description |
---|---|
| Parameters required to activate a wallet. |
joinOrganization
Join as a member of an organization.
Return type: OrganizationMember!
joinOrganization
Input fields for Name | Description |
---|---|
| Parameters required to join an organization. |
updateOrganizationMember
Update data of a member in an organization.
Return type: Boolean!
updateOrganizationMember
Input fields for Name | Description |
---|---|
Parameters required to update an organization member. |
disableOrganizationMember
Disables an organization member.
Return type: Boolean!
disableOrganizationMember
Input fields for Name | Description |
---|---|
Parameters required to disable an organization member. |
enableOrganizationMember
Enables an organization member who is currently disabled.
Return type: Boolean!
enableOrganizationMember
Input fields for Name | Description |
---|---|
Parameters required to enable an organization member. |
sendOrganizationMemberInvitation
Sends an organization invitation.
Return type: OrganizationInvitation!
sendOrganizationMemberInvitation
Input fields for Name | Description |
---|---|
Parameters to send an organization invite. |
resendOrganizationMemberInvitation
Resends an organization invitation.
Return type: OrganizationInvitation!
resendOrganizationMemberInvitation
Input fields for Name | Description |
---|---|
Parameters to resend an organization invitation. |
revokeOrganizationMemberInvitation
Revokes an existing organization invitation.
Return type: Boolean!
revokeOrganizationMemberInvitation
Input fields for Name | Description |
---|---|
Parameters to revoke an organization invitation. |
createGasTank
Create a new gas tank. By default, gas tanks are usable across multiple EVM chains. A gas tank can be confined to a single chain if so desired by specifying the OrganizationNetwork ID. If the gas tank already exists, it will be returned.
Return type: GasTank!
createGasTank
Input fields for Name | Description |
---|---|
| Parameters required to create a new gas tank. |
fundGasTankViaLevainFaucet
Return type: Boolean!
fundGasTankViaLevainFaucet
Input fields for Name | Description |
---|---|
Parameters required to create a new gas tank. |
addOrganizationNetwork
Return type: OrganizationNetwork!
addOrganizationNetwork
Input fields for Name | Description |
---|---|
updateWallet
Update a wallet.
Return type: Boolean!
updateWallet
Input fields for Name | Description |
---|---|
| Parameters required to update a wallet. |
createWallet
Create a new wallet on the specified network.
Return type: Wallet!
createWallet
Input fields for Name | Description |
---|---|
| Parameters required to create a new wallet. |
fundFromGasTank
Executes a funding transaction from the gas tank that the wallet belongs to. Only for the network's native token.
Return type: String!
fundFromGasTank
Input fields for Name | Description |
---|---|
| Parameters to fund an address from the wallet's Gas Tank |
addWalletAccess
Creates a new wallet access for a member of an organization.
Return type: WalletAccess!
addWalletAccess
Input fields for Name | Description |
---|---|
| Parameters required to create a new wallet access for an organization member. |
revokeWalletAccess
Removes the wallet access of an organization member.
Return type: Boolean!
revokeWalletAccess
Input fields for Name | Description |
---|---|
| Parameters required to remove the wallet access of an organization member. |
updateWalletAccess
Updates the wallet access role of an organization member.
Return type: Boolean!
updateWalletAccess
Input fields for Name | Description |
---|---|
| Parameters required to update the wallet access role of an organization member. |
setWalletPolicyApprovalThreshold
Updates the minimum number of approvals needed for a transaction to be approved.
Return type: WalletPolicy!
setWalletPolicyApprovalThreshold
Input fields for Name | Description |
---|---|
Parameters required to update the policy approval threshold. |
createPolicyWhitelist
Creates a new whitelist policy for a wallet.
Return type: PolicyWhitelist!
createPolicyWhitelist
Input fields for Name | Description |
---|---|
Parameters required to create a policy whitelist. |
updatePolicyWhitelist
Updates a whitelist policy of a wallet.
Return type: Boolean!
updatePolicyWhitelist
Input fields for Name | Description |
---|---|
Parameters required to update a whitelist policy. |
disablePolicyWhitelist
Disables a policy whitelist of a wallet.
Return type: Boolean!
disablePolicyWhitelist
Input fields for Name | Description |
---|---|
Parameters required to disable a policy whitelist. |
createWebhookSignatureKey
Creates a new webhook signature key in an organization.
Return type: String!
createWebhookSignatureKey
Input fields for Name | Description |
---|---|
Parameters to create a webhook signature key. |
deleteWebhookSignatureKey
Delete a webhook signature key.
Return type: Boolean!
deleteWebhookSignatureKey
Input fields for Name | Description |
---|---|
Parameters required to delete a webhook signature key. |
refreshTransactionRequestStatus
Refresh the status of a transaction request.
Return type: TransactionRequestStatus!
refreshTransactionRequestStatus
Input fields for Name | Description |
---|---|
Parameters required to refresh the transaction request status. |
createTransactionRequest
Create a new transaction request.
Return type: TransactionRequest!
createTransactionRequest
Input fields for Name | Description |
---|---|
Parameters to initiate a new transaction request for a wallet. |
createRequest
Create transaction request (v2)
Return type: TransactionRequest!
createRequest
Input fields for Name | Description |
---|---|
| Parameters to initiate a new transaction request for a wallet. |
withdrawTransactionRequest
Withdraw transaction request
Return type: Boolean!
withdrawTransactionRequest
Input fields for Name | Description |
---|---|
Parameters to withdraw a transaction request for a wallet. |
send
Create a SEND asset transaction request.
Return type: TransactionRequest!
send
Input fields for Name | Description |
---|---|
Parameters to initiate a new transaction request for a wallet. |
submitSignature
Deprecated
Use submitSignatures
instead.
Submit signatures for a transaction request. For EVM transactions, the amount of gas required for execution can be estimated after this step.
Return type: TransactionRequest!
submitSignature
Input fields for Name | Description |
---|---|
| Parameters to submit signatures for a transaction request. |
submitSignatures
Submit signatures for a transaction request. For EVM transactions, the amount of gas required for execution can be estimated after this step.
Return type: TransactionRequest!
submitSignatures
Input fields for Name | Description |
---|---|
| Parameters to submit signatures for a transaction request. |
executeTransaction
Executes the specified transaction request on chain if it's ready. For EVM smart contract wallets, this entails calling the smart contract's execution function with the Gas Tank.
Return type: TransactionRequest!
executeTransaction
Input fields for Name | Description |
---|---|
| Parameters to execute a signed transaction request for a wallet. |
createTransactionDigests
Generates cryptographic digests for a transaction request. Digests are used for verifying the transaction data and ensuring that no unauthorized changes have been made to the transaction.
Return type: TransactionRequest!
createTransactionDigests
Input fields for Name | Description |
---|---|
Parameters to create digests for transaction validation. |
deleteRequest
Delete a request.
Return type: Boolean!
deleteRequest
Input fields for Name | Description |
---|---|
| Parameters required to delete a transaction / signature request. |
createWalletDepositAddress
Create a new deposit address.
Return type: CreateWalletDepositAddressResult!
createWalletDepositAddress
Input fields for Name | Description |
---|---|
Parameters required to create a deposit address. |
updateWalletDepositAddress
Update a deposit address.
Return type: Boolean!
updateWalletDepositAddress
Input fields for Name | Description |
---|---|
Parameters required to update a deposit address. |
deployWalletDepositAddress
Deploy a wallet deposit address.
Return type: DeployWalletDepositAddressResult!
deployWalletDepositAddress
Input fields for Name | Description |
---|---|
Parameters required to deploy a deposit address. |
flushWalletDepositAddress
Flush a wallet deposit address.
Return type: FlushWalletDepositAddressResult!
flushWalletDepositAddress
Input fields for Name | Description |
---|---|
Parameters required to flush a deposit address. |
flushWalletDepositAddressV2
Flush a wallet deposit address.
Return type: FlushWalletDepositAddressV2Result!
flushWalletDepositAddressV2
Input fields for Name | Description |
---|---|
Parameters required to flush a deposit address. |
batchFlushWalletDepositAddresses
Batch flush wallet multiple deposit addresses for multiple ERC20 tokens
Return type: BatchFlushWalletDepositAddressesResult!
batchFlushWalletDepositAddresses
Input fields for Name | Description |
---|---|
Parameters required to batch flush multiple deposit addresses for multiple ERC20 tokens |
activateWalletDeposit
Activate a wallet deposit address when it has met the necessary number of block confirmations.
Return type: ActivateWalletDepositResult!
activateWalletDeposit
Input fields for Name | Description |
---|---|
The parameters required to activate a wallet deposit address |
approveTransactionRequest
Approve a transaction request.
Return type: ApproveTransactionRequestResult!
approveTransactionRequest
Input fields for Name | Description |
---|---|
The data required to approve a transaction request. |
rejectTransactionRequest
Reject a transaction request.
Return type: TransactionRequestApproval!
rejectTransactionRequest
Input fields for Name | Description |
---|---|
The data required to reject a transaction request. |
createSignatureRequest
Creates a signature request for a transaction request.
Return type: CreateSignatureRequestResult!
createSignatureRequest
Input fields for Name | Description |
---|---|
Parameters to create the signature request. |
approveSignatureRequest
Approves a signature request.
Return type: ApproveSignatureRequestResult!
approveSignatureRequest
Input fields for Name | Description |
---|---|
Parameters to approve the signature request. |
requestOwnerSignatures
Requests owner signatures for a transaction request.
Return type: RequestOwnerSignaturesResult!
requestOwnerSignatures
Input fields for Name | Description |
---|---|
Parameters to request owner signatures. |
resolveEIP1271Signature
Resolves an EIP-1271 signature.
Return type: ResolveEIP1271SignatureResult!
resolveEIP1271Signature
Input fields for Name | Description |
---|---|
Parameters to resolve an EIP-1271 signature. |
rejectTransactionRequestSignature
Rejects a signature request.
Return type: Boolean!
rejectTransactionRequestSignature
Input fields for Name | Description |
---|---|
Parameters to reject the signature request. |
setWalletFinalApprover
Sets the final approver for signing of transactions in a wallet.
Return type: Boolean!
setWalletFinalApprover
Input fields for Name | Description |
---|---|
Parameters required to set the final approver in a wallet. |
disableWalletSigner
Disables the signer from signing of transactions in a wallet.
Return type: Boolean!
disableWalletSigner
Input fields for Name | Description |
---|---|
Parameters required to disable the signer of a wallet. |
shareWalletKey
Share a wallet key with a wallet member. The wallet member must fetch the key and decrypt it client-side. If there's an existing password, it will be replaced with the new one. The wallet member must have the approver role.
Return type: Password!
shareWalletKey
Input fields for Name | Description |
---|---|
|
registerWalletPassword
Return type: Password!
registerWalletPassword
Input fields for Name | Description |
---|---|
Parameters required to register a wallet member's password. |
createKey
Creates a new key in an organization.
Return type: Key!
createKey
Input fields for Name | Description |
---|---|
| Parameters required to create a new key. |
updateKey
Update a key.
Return type: Boolean!
updateKey
Input fields for Name | Description |
---|---|
| Parameters required to update a key. |
createWebhook
Creates a new webhook in an organization.
Return type: OrganizationWebhook!
createWebhook
Input fields for Name | Description |
---|---|
| Parameters required to create a new webhook. |
deleteWebhook
Delete a webhook.
Return type: Boolean!
deleteWebhook
Input fields for Name | Description |
---|---|
| Parameters required to delete a webhook. |