Whitelist a staking address, if needed.

put/api/v2/internal/wallet/{walletId}/policy/whitelist

Whitelist an address if doing so is needed in order to execute staking transactions. If whitelisting is not required, do nothing.

Path Parameters

  • walletIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Request Body

One of
addedBy string required
Who is adding the address. Will be displayed to the user
address string required
The address to whitelist
coin string
The coin of the address

200 Response

enterprisePolicy object
dateOne ofrequired
id string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
latest boolean required
version number required
enterpriseId string
label string
rules array[object]
walletId string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletPolicy object
dateOne ofrequired
id string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
latest boolean required
version number required
enterpriseId string
label string
rules array[object]
walletId string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

401 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

409 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id