chain.guard.v1.GuardSignerService
ExportGuardSignerWallet
Method
POST
Path
chain.guard.v1.GuardSignerService/ExportGuardSignerWallet
Service
chain.guard.v1.GuardSignerService
Visibility
Authentication
Session token
MFA Requirement
POST
chain.guard.v1.GuardSignerService/ExportGuardSignerWallet Request
Testnet
curl --request POST \ \
--url 'https://api.testnet.polyester.com/chain.guard.v1.GuardSignerService/ExportGuardSignerWallet' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{
"subaccountId": "6789012345678"
}'Responses
{
"privateKey": "0x0000000000000000000000000000000000000000000000000000000000000000"
}Request
chain.guard.v1.ExportGuardSignerWalletRequestResponse
chain.guard.v1.ExportGuardSignerWalletResponse subaccountId string (fixed64)
Optional subaccount public id. When omitted, the authenticated caller's root account is used as the target account.
privateKey string
Hex-encoded private key returned only after export authorization succeeds.
| 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. |