Skip to content

Add an address to the approved list

POST
/v1/approved-addresses
curl --request POST \
--url https://api.sotirea.com/v1/approved-addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "address": "example", "chain_id": "example", "label": "example" }'

As in the console: a newly approved address may be paid only after the wait your rules set, and the people who manage your rules are emailed. Answers the whole list.

Media typeapplication/json
object
address
required
string
chain_id

The network, or empty for every network.

string
label

Who or what it is, as people will read it.

string

Example generated

{
"address": "example",
"chain_id": "example",
"label": "example"
}

Done.

Media typeapplication/json
object
data
required
Array<object>
object
address
required
string
chain_id
required

The network, or empty for every network.

string
label
required
string
usable_from
required
Any of:
string format: date-time
meta
object
request_id

Quote it when asking about a request; it is in the X-Request-Id header too.

string
success
required

Example

{
"success": true
}

Refused or failed, in words a person can act on.

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
meta
object
request_id

Quote it when asking about a request.

string
success
required

Example

{
"success": false
}