REST API

Delegations by wallet

Get a list of incoming and outgoing delegations for a specific taproot wallet.

GET https://ordinalproxy.xyz/api/v1/wallet

Query Parameters

NameTypeDescription

wallet*

string

The wallet to get delegations for

200: OK Delegation[]

type Delegation = {
    from: string;
    to: string;
};

// returns Delegation[]

Delegations by wallet Example

curl https://ordinalproxy.xyz/api/v1/?wallet=00000000000000000000000000

Delegation Checks

Returns true if the to address is delegated to act on the from wallets behalf.

GET https://ordinalproxy.xyz/api/v1/check

Query Parameters

NameTypeDescription

to*

string

The hot wallet to act on the cold wallets behalf

from*

string

The cold wallet who issued the delegation

200: OK Boolean

Check All Example

curl https://ordinalproxy.xyz/api/v1/check/?to=00000000000000000000000000&from=00000000000000000000000000

Verify Signature

Returns true if the inscription signature ("s") is valid.

POST https://ordinalproxy.xyz/api/v1/verify/signature

Body Parameters

NameTypeDescription

signature*

string

The signature.

message*

string

The original message.

200: OK Boolean

Check All Example

curl --request POST \
  --url https://ordinalproxy.xyz/api/v1/verify/signature \
  --header 'Content-Type: application/json' \
  --header 'User-Agent: insomnia/8.6.1' \
  --data '{
    "message": "xxx",
    "signature": "xxx"
}'

Last updated