createReshareRequest
Submit a request to change the signing party for a vault. This is purely for orchestration purposes, based on MPC TSS cryptography, the current active members of the signing party have to approve the changes and participate in the re-sharing ceremony for any cryptographic changes to be made.
Return Type: ReshareRequest
Arguments for createReshareRequest
Name | Description |
---|---|
vaultId (ID!) | Unique ID used to identity a vault. CUID Format. |
signingParty (SigningPartyInput!) | Collection of devices (mobile signers or virtual signers) that will be able to participate in the MPC TSS key-generation, re-sharing and signing ceremonies. Each signer is assigned a weight, and the vault is given a threshold. In order for consensus to be reached for each MPC TSS ceremony, the weight needs to at least match the threshold |
expiryTimestamp (DateTime) | Optional exact timestamp for the request to expire. Defaults to T-00:10:00 from the time the request is created. |
createTransactionRequest
Create a transaction request. This is purely for orchestration purposes, based on MPC TSS cryptography, the current active members of the signing party have to approve the request and participate in signing for signature to be generated (i.e the transaction to occur / broadcast).
Return Type: TransactionRequest
Arguments for createTransactionRequest
Name | Description |
---|---|
assetId (ID!) | Unique Id used to identity an asset. Composed of a network identifier, and for ERC20 tokens or equivalent also contains the contract address for uniqueness. |
sendingAddress (String!) | Address/public key of the vault sending the transaction. Also known as the remitter in TradFi. |
memo (String) | Memo string to be included in the transaction request. Note that this information is not committed to the blockchain, and remains only viewable to users within the organisation. Max length is 150 characters. |
sendAmount (Decimal!) | Amount to send in decimal, non-unit format; so do not use satoshis or wei for example. |
receivingAddress (String!) | Address/public key of the receiving party. Also known as the beneficiary in TradFi. |
expiryTimestamp (DateTime) | Optional exact timestamp for the request to expire. Defaults to T-00:10:00 from the time the request is created. |
metadata (TransactionRequestMetadataInput) | No description |
createVault
Submit a request to create a vault and signing party. This is purely for orchestration purposes, based on MPC TSS cryptography, the users/devices chosen to be members of the signing party have to approve the creation request and participate in the key generation ceremony for the vault to be created.
Return Type: Vault
Arguments for createVault
Name | Description |
---|---|
name (String!) | No description |
description (String!) | No description |
assetSettings ([VaultAssetSettingInput]) | No description |
signingParty (SigningPartyInput!) | Collection of devices (mobile signers or virtual signers) that will be able to participate in the MPC TSS key-generation, re-sharing and signing ceremonies. Each signer is assigned a weight, and the vault is given a threshold. In order for consensus to be reached for each MPC TSS ceremony, the weight needs to at least match the threshold |
purpose (VaultPurpose) | The vault especial purpose, if it has one. Otherwise DEFAULT |
setVaultAssetSetting
Set the settings for a specic asset in a specific vault
Return Type: Vault
Arguments for setVaultAssetSetting
Name | Description |
---|---|
vaultId (ID!) | Unique ID used to identity a vault. CUID Format. |
assetSettings ([VaultAssetSettingInput!]) | No description |
registerDevice ⚠️
Register a new device to the user associated with the access token, or update an existing one
Return Type: Device
Arguments for registerDevice