Create a Stake.
attributes of the staking to create
gas_limit | string or null >= 1 ^[0-9]*(\.[0-9]+)?$ Default: null For Ethereum, specify a gas_limit, ignored if speed is not CUSTOM. The unit is wei. Decimal values are round down to integer |
gas_price | string or null >= 1 ^[0-9]*(\.[0-9]+)?$ Default: null For Ethereum, specify a gas_price, ignored if speed is not CUSTOM. The unit is wei. Decimal values are round down to integer |
max_fees required | string^[0-9]*(\.[0-9]+)?$ Max fees represent the highest possible fee amount you will pay to broadcast this transaction. The final fees, calculated once the transaction is approved by the last Operator, might be lower, but will never exceed that amount. We recommend estimating max fees through our fee estimation endpoint prior to creating the transaction request. See https://help.vault.ledger.com/Content/transactions/tx.html for details. |
provider required | string The provider you want to stake with |
required | object Specific provider fields to stake |
speed required | string The speed of the transaction |
Transaction to approve
Invalid staking parameters
{- "gas_limit": "5354365",
- "gas_price": "5354365",
- "max_fees": "string",
- "provider": "kiln",
- "provider_fields": {
- "amount": 32000000000000000000,
- "deposit_contract_address": "0xDd69da9a83ceDc730bc4d3C56E96D29Acc05eCDE"
}, - "speed": "NORMAL"
}
{- "account_id": 1,
- "account_index": 0,
- "amount": "1432199",
- "block": null,
- "broadcast_on": "2020-12-11T12:56:35.370946+00:00",
- "coin_fields": {
- "fees_per_byte": 10
}, - "confirmations": 28,
- "created_by": 5,
- "created_on": "2019-08-24T14:15:22Z",
- "currency": "bitcoin",
- "currency_family": "ethereum",
- "fees": 17500,
- "id": 0,
- "interaction_type": null,
- "last_request": null,
- "max_fees": 2100,
- "metadata": null,
- "min_confirmations": 6,
- "notes": [
- {
- "content": "some information about this transaction",
- "title": "a note title"
}
], - "recipient": "tb1q2tvjts80vthcywq9au2yynpezca57mvv0j7lzm",
- "senders": [
- "0x0D9377F84af90e6936973aEF3063fe6e16ca693e"
], - "speed": "NORMAL",
- "status": "PENDING_APPROVAL",
- "tx_hash": "cd199dd0c61ff75c7a442e425771fedfe07e191a76aed64b6a311ec4a369b20e",
- "type": "SEND",
- "uid": null
}