Polygon
See Providers for which providers support this network
Returns a specific stake request by ID.
The provider connection through which the resource is accessed
The stake request was successfully retrieved.
Invalid request parameters
Authentication is required
Insufficient permissions
Resource not found
Resource conflict
Unable to process the contained instructions
Internal server error
Bad gateway
GET /v1/provider/polygon/stakes/{stakeId} HTTP/1.1
Host: auth.armory.playnarval.com
detached-jws: YOUR_API_KEY
x-client-id: text
x-connection-id: text
Accept: */*
{
"data": {
"stakeRequest": {
"stakeRequestId": "text",
"provider": "anchorage",
"createdAt": null,
"networkId": "text",
"externalId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text",
"providerSpecific": null,
"status": "pending_approval",
"externalStatus": "text"
},
"positions": [
{
"positionId": "text",
"status": "closed",
"provider": "text",
"externalStatus": "text",
"networkId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text"
}
],
"transactions": [
{
"externalTxId": "text",
"externalTransactionStatus": "text"
}
]
}
}
Creates a new stake request on the provider.
The provider connection through which the resource is accessed
Request to stake tokens on an account. Will result in one or multiple stake positions.
Sets the stake ID to an arbitrary value.
The stake request was successfully created.
Invalid request parameters
Authentication is required
Insufficient permissions
Resource not found
Resource conflict
Unable to process the contained instructions
Internal server error
Bad gateway
POST /v1/provider/polygon/stakes HTTP/1.1
Host: auth.armory.playnarval.com
detached-jws: YOUR_API_KEY
x-client-id: text
x-connection-id: text
Content-Type: application/json
Accept: */*
Content-Length: 210
{
"source": {
"type": "account",
"id": "text"
},
"createdAt": null,
"validator": {
"address": "text",
"externalId": "text"
},
"amount": "text",
"idempotenceId": "text",
"stakeRequestId": "text",
"memo": "text",
"providerSpecific": null
}
{
"data": {
"stakeRequest": {
"stakeRequestId": "text",
"provider": "anchorage",
"createdAt": null,
"networkId": "text",
"externalId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text",
"providerSpecific": null,
"status": "pending_approval",
"externalStatus": "text"
},
"positions": [
{
"positionId": "text",
"status": "closed",
"provider": "text",
"externalStatus": "text",
"networkId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text"
}
],
"transactions": [
{
"externalTxId": "text",
"externalTransactionStatus": "text"
}
]
}
}
Returns a list of positions that can be unstaked.
The account ID to list unstakeable positions for
The provider connection through which the resource is accessed
The unstakeable positions were successfully retrieved.
Invalid request parameters
Authentication is required
Insufficient permissions
Resource not found
Resource conflict
Unable to process the contained instructions
Internal server error
Bad gateway
GET /v1/provider/polygon/unstakeable-positions HTTP/1.1
Host: auth.armory.playnarval.com
detached-jws: YOUR_API_KEY
x-client-id: text
x-connection-id: text
Accept: */*
{
"data": [
{
"positionId": "text",
"status": "closed",
"provider": "text",
"externalStatus": "text",
"networkId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text"
}
]
}
Creates a new unstake request on the provider.
The provider connection through which the resource is accessed
Request to unstake from a specific stake position.
Sets the unstake ID to an arbitrary value.
The unstake request was successfully created.
Invalid request parameters
Authentication is required
Insufficient permissions
Resource not found
Resource conflict
Unable to process the contained instructions
Internal server error
Bad gateway
POST /v1/provider/polygon/unstakes HTTP/1.1
Host: auth.armory.playnarval.com
detached-jws: YOUR_API_KEY
x-client-id: text
x-connection-id: text
Content-Type: application/json
Accept: */*
Content-Length: 143
{
"amount": "text",
"idempotenceId": "text",
"networkId": "text",
"source": {
"type": "account",
"id": "text"
},
"stakePositionId": "text",
"unstakeId": "text"
}
{
"data": {
"unstakeRequest": {
"unstakeId": "text",
"provider": "anchorage",
"createdAt": null,
"networkId": "text",
"externalId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text",
"status": "pending_approval",
"externalStatus": "text"
},
"transactions": [
{
"externalTxId": "text",
"externalTransactionStatus": "text"
}
]
}
}
Returns a specific unstake request by ID.
The unstake ID to retrieve
The provider connection through which the resource is accessed
The unstake request was successfully retrieved.
Invalid request parameters
Authentication is required
Insufficient permissions
Resource not found
Resource conflict
Unable to process the contained instructions
Internal server error
Bad gateway
GET /v1/provider/polygon/unstakes/{unstakeId} HTTP/1.1
Host: auth.armory.playnarval.com
detached-jws: YOUR_API_KEY
x-client-id: text
x-connection-id: text
Accept: */*
{
"data": {
"unstakeRequest": {
"unstakeId": "text",
"provider": "anchorage",
"createdAt": null,
"networkId": "text",
"externalId": "text",
"accountId": "text",
"clientId": "text",
"connectionId": "text",
"status": "pending_approval",
"externalStatus": "text"
},
"transactions": [
{
"externalTxId": "text",
"externalTransactionStatus": "text"
}
]
}
}
Last updated