chain.guard.v1.GuardSignerService
RotateGuardSignerWallet
Method
POST
Path
chain.guard.v1.GuardSignerService/RotateGuardSignerWallet
Service
chain.guard.v1.GuardSignerService
Visibility
Authentication
Session token
MFA Requirement
POST
chain.guard.v1.GuardSignerService/RotateGuardSignerWallet Request
Testnet
curl --request POST \ \
--url 'https://api.testnet.polyester.com/chain.guard.v1.GuardSignerService/RotateGuardSignerWallet' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{
"subaccountId": "6789012345678"
}'Responses
{
"approval": {
"deadlineUnix": "1",
"nonceSpace": "1",
"signature": "0xabcdefg..............................."
},
"newSignerAddress": "0x5555555555555555555555555555555555555555"
}Request
chain.guard.v1.RotateGuardSignerWalletRequestResponse
chain.guard.v1.RotateGuardSignerWalletResponse subaccountId string (fixed64)
Optional subaccount public id. When omitted, the authenticated caller's root account is used as the target account.
newSignerAddress string
EVM address of the replacement guard signer wallet.
3 fields
nonceSpace string (uint64)
Nonce space used for the signed approval. Normal flows use 0.
deadlineUnix string (uint64)
Deadline as a unix timestamp in seconds, derived from chain time.
signature string (byte)
EIP-712 signature over the guard approval message. Must not be empty.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |