Skip to main content
POST
/
contracts
/
subscription
/
unsubscribe
Unsubscribe
curl --request POST \
  --url https://mainnet.gomaestro-api.org/v1/contracts/subscription/unsubscribe \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "subscriber_address": "<string>",
  "service_nft_tn": "<string>",
  "subscriber_nft_tn": "<string>",
  "current_time": "<string>"
}'
{
  "cbor_hex": "<string>",
  "tx_hash": "<string>"
}

Authorizations

api-key
string
header
required

Project API Key

Body

application/json
service_nft_tn
string
required

Service NFT token name

subscriber_nft_tn
string
required

Subscriber NFT token name

current_time
string
required

Current timestamp

subscriber_address
string

Subscriber address

Response

Unsubscribed successfully

Unsigned transaction

cbor_hex
string
required

CBOR hexadecimal representation of the transaction

tx_hash
string
required

Transaction hash

I