Ethereum
See Providers for which providers support this network
Returns a specific stake request by ID.
The provider connection through which the resource is accessed
GET /v1/provider/ethereum/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.
POST /v1/provider/ethereum/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
GET /v1/provider/ethereum/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"
}
]
}
Returns a specific unstake request by ID.
The unstake ID to retrieve
The provider connection through which the resource is accessed
GET /v1/provider/ethereum/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"
}
]
}
}
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.
POST /v1/provider/ethereum/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"
}
]
}
}
Last updated