auth.v1.AddressBookService
ListInternalTransferWhitelistEntries
Request
curl --request POST \ \
--url 'https://api.testnet.polyester.com/auth.v1.AddressBookService/ListInternalTransferWhitelistEntries' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{
"limit": 100,
"pageToken": "eyJvZmZzZXQiOjEwMH0",
"subaccountId": "6789012345678"
}'Responses
{
"entries": [
{
"createdAt": "2025-01-01T00:00:00Z",
"entryId": "1",
"resolutionStatus": "INTERNAL_WHITELIST_RESOLVED",
"rootAccountId": "7563897446546",
"rootUsername": "trader_alpha",
"scope": {
"rootAccountId": "7563897446546",
"scopeType": "SCOPE_ROOT",
"subaccountId": "6789012345678"
},
"smartAccountAddress": "0x2222222222222222222222222222222222222222",
"subaccountLabel": "Market Making",
"targetAccountId": "7563897446546",
"targetScopeType": "SCOPE_ROOT",
"updatedAt": "2025-01-01T00:00:00Z"
}
],
"nextPageToken": "eyJvZmZzZXQiOjIwMH0"
}auth.v1.ListInternalTransferWhitelistEntriesRequestauth.v1.ListInternalTransferWhitelistEntriesResponseOptional subaccount scope. Omit to use the root account address book.
Maximum number of whitelist entries to return. Defaults to 200 when omitted; maximum is 500.
Opaque keyset cursor from a previous response. The cursor is exclusive and bound to account, subaccount scope, and stable whitelist-entry sort order.
Stable public id of this internal transfer whitelist entry.
Address-book scope type.
Root account that owns this address book.
Subaccount for subaccount-scoped books. Empty for root account books.
Root account that owns the target internal account.
Target account or subaccount public id.
Whether target_account_id identifies a root account or a subaccount.
Smart account address allowed for internal transfers.
Username for the destination root account, when available.
Label for the destination subaccount, when the destination is a subaccount.
Time this whitelist entry was created, as a UTC timestamp.
Time this whitelist entry was last updated, as a UTC timestamp.
Whether destination account details are available.
Opaque cursor for the next page. Empty when no more results exist.
| 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. |