Skip to main content
Request parameters for updating an existing Grid account’s configuration. All fields are optional - only provide the fields you want to update.

Examples

const updateRequest: UpdateAccountRequest = {
  threshold: 2,
  transaction_signers: ['5FHwkrdxntdK24hgQU8qgBjn35Y1zwhz1GZwCkP2UJnM']
};
const updateRequest: UpdateAccountRequest = {
  signers: [
    {
      address: 'newSignerPublicKey',
      role: 'backup',
      permissions: ['CAN_VOTE'],
      provider: 'external'
    }
  ],
  threshold: 2
};

Properties

PropertyTypeDescription
signers?AccountSigner[]Optional array of signers to update the account with. Replaces existing signers if provided.
threshold?numberOptional approval threshold (number of required signatures). Must be between 1-10 and not exceed the number of signers.
time_lock?numberOptional time lock in seconds before transactions can be executed. Must be between 1 and u32::MAX if provided.
admin_address?stringOptional admin address for administrative functions. Pass null to remove existing admin.
transaction_signers?string[]Optional array of signer addresses that must approve this update transaction.
I