swap.quickswap.v1.QuickSwapBrokerService
TransferOwnership
TransferOwnership makes another member the Owner; the caller, the current Owner, becomes an Admin in the same change. Session token and step-up proof only. Errors: - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND. - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.
Method
POST
Path
swap.quickswap.v1.QuickSwapBrokerService/TransferOwnership
Service
swap.quickswap.v1.QuickSwapBrokerService
Visibility
Authentication
Session token
MFA Requirement
Not required
POST
swap.quickswap.v1.QuickSwapBrokerService/TransferOwnership Request
Testnet
curl --request POST \ \
--url 'https://api.testnet.polyester.com/swap.quickswap.v1.QuickSwapBrokerService/TransferOwnership' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{
"accountId": "7563897446546",
"broker": "value"
}'Responses
{}Request
swap.quickswap.v1.TransferOwnershipRequestResponse
swap.quickswap.v1.TransferOwnershipResponse broker string
Broker name.
accountId string (fixed64)
Public account ID of the member who becomes the Owner.
No response fields documented for this type.
| 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. |