Skip to main content

Meria staking API (1.0.0)

Full documentation for the Meria staking API is available at https://docs-staking-api.meria.com/.

App

Get the status of the API

This endpoint provides information about the current status of the Api, allowing you to check its availability.

Responses

Transactions

Submit a forged transaction hash to the API

This endpoint allows you to submit a forged transaction hash to the API, allowing you to tell us that you broadcasted the transaction.

Authorizations:
api-key
Request Body schema: application/json
required
uuid
required
string

The uuid of the transaction forged by the API

txHash
required
string

The transaction hash you broadcasted on your side or client side.

Responses

Request samples

Content type
application/json
{
  • "uuid": "5bb9b985-d779-4327-8e17-405fd0f6cbad",
  • "txHash": "string"
}

Response samples

Content type
application/json
{
  • "verified": true
}

Get a transaction by uuid or tx hash

Authorizations:
api-key
query Parameters
uuid
string

Get one tx by uuid

txHash
string

Get one tx by tx hash

Responses

Response samples

Content type
application/json
{
  • "uuid": "string",
  • "apiKeyId": 0,
  • "requestBody": { },
  • "stakingIdentifier": "SOL",
  • "action": "string",
  • "subAction": "string",
  • "txHash": "string",
  • "verified": true,
  • "txStatus": "SUCCESS",
  • "txTimestamp": "string",
  • "createdAt": "string",
  • "updatedAt": "string"
}

Account

Activate your account

This endpoint allows you to activate your account and receive an API key, which you will use for authenticating your subsequent requests.

Request Body schema: application/json
required
name
required
string

The name of the account.

invitationCode
required
string

The invitation code required to activate an account. In order to get one, contact us!

Responses

Request samples

Content type
application/json
{
  • "name": "<your-account-name>",
  • "invitationCode": "<your-meria-invitation-code>"
}

Response samples

Content type
application/json
{
  • "apiKey": {
    },
  • "account": {
    }
}

Create a secondary API key

This endpoint allows you to generate a secondary API key, which you will use for authenticating your subsequent requests.

Authorizations:
api-key
Request Body schema: application/json
required
name
required
string

The name of the api-key

Responses

Request samples

Content type
application/json
{
  • "name": "production"
}

Response samples

Content type
application/json
{
  • "apiKey": "NC9hYTU0NjY3Yy1mMDJkLTQ3OGUtOTU4Yy00OTRkZjcxMzA2M2Y=",
  • "details": {
    }
}

Delete a secondary API key

This endpoint allows the master API key to delete a secondary API key by name.

Authorizations:
api-key
Request Body schema: application/json
required
name
required
string

The name of the api-key to delete

Responses

Request samples

Content type
application/json
{
  • "name": "production"
}

List secondary API keys

This endpoint returns the list of active secondary API keys for the authenticated account.

Authorizations:
api-key

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Reporting

Get total earnings summary (by stakingIdentifier). 60 minutes cache on the response.

Authorizations:
api-key
query Parameters
begDate
string <date-time>

Begin date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

endDate
string <date-time>

End date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

wallet
string

Filter by a specific wallet

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get total earnings summary (by wallet then stakingIdentifier). 60 minutes cache on the response.

Authorizations:
api-key
query Parameters
begDate
string <date-time>

Begin date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

endDate
string <date-time>

End date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

wallet
string

Filter by a specific wallet

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get historical daily earnings (by stakingIdentifier). 60 minutes cache on the response.

Authorizations:
api-key
query Parameters
begDate
string <date-time>

Begin date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

endDate
string <date-time>

End date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

wallet
string

Filter by a specific wallet

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get historical daily earnings (by wallet then stakingIdentifier). 60 minutes cache on the response.

Authorizations:
api-key
query Parameters
begDate
string <date-time>

Begin date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ��� 3 months; otherwise it will be coerced to a 3-month window.

endDate
string <date-time>

End date (YYYY-MM-DD or ISO 8601). Note: the begDate/endDate range must be ≤ 3 months; otherwise it will be coerced to a 3-month window.

wallet
string

Filter by a specific wallet

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get total staked amount summary. 60 minutes cache on the response.

Authorizations:
api-key
query Parameters
wallet
string

Filter by a specific wallet

Responses

Get total staked amount summary (by wallet then stakingIdentifier). 60 minutes cache on the response.

Authorizations:
api-key
query Parameters
wallet
string

Filter by a specific wallet

Responses

Yield

Get current APR/yield for a staking identifier. 5 minutes cache on the response.

Authorizations:
api-key
query Parameters
stakingIdentifier
string
Enum: "CHILIZ" "CXT" "POL" "STAKEWISE" "NEAR" "EGLD" "ATOM" "EVMOS" "INJ" "OSMO" "TIA" "JUNO" "AXL" "DYDX" "STARS" "AKT" "DYM" "LUNA" "SEI" "FLIX" "KAVA" "COREUM" "SAGA" "XPRT" "UX" "CRO" "BAND" "HUAHUA" "FET" "PASG" "HEART" "KYVE" "SOMM" "XPLA" "BTSG" "IRIS" "MED" "CTK" "SOL" "BTC" "DOT"

Staking identifier (e.g., ATOM, SOL, etc.)

Responses

Response samples

Content type
application/json
0
0