v3/delegations

Get a properly encoded RevokeDelegationPayload that can be signed

Changed on
get/v3/delegations/revokeDelegation/{accountId}/{providerId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

accountIdstring required
Example:1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N

AccountId in hex or SS58 format

providerIdstring required
Example:1

Msa Id of provider

Response

Returned an encoded RevokeDelegationPayload for signing

accountIdstring required

AccountId in hex or SS58 format

providerIdstring required

MSA Id of the provider to whom the requesting user wishes to delegate

encodedExtrinsicstring required

Hex-encoded representation of the "revokeDelegation" extrinsic

payloadToSignstring required

payload to be signed

Example response

{
  "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
  "providerId": "3",
  "encodedExtrinsic": "0x1234",
  "payloadToSign": "0x1234"
}

Changes