How the priority parameter works
The priority parameter is available for Bitcoin, Ethereum, ERC-20 and Litecoin. It's available both in the create and estimate endpoint.
Like the name hints, it's meant to make make the transactions faster, though the higher the priority, the higher the network fee.
Each cryptocurrency/network have their sets of priorities.
Bitcoin
With Bitcoin this represents confirmation targets, which means it's calculated based on current network fees to be confirmed within X number of blocks, number of blocks for each are:
Enum: | Description |
---|---|
fast | 10 |
default | 25 |
economic | 75 |
x-economic | 125 |
xx-economic | 200 |
xxx-economic | 300 |
xxxx-economic | 500 |
xxxxx-economic | 1000 |
Ethereum
With Ethereum, these values are based on gas price estimation:
Enum: | Description |
---|---|
fast | 100% |
default | 100% |
economic | 95% |
x-economic | 90% |
xx-economic | 85% |
xxx-economic | 80% |
xxxx-economic | 75% |
ERC-20 Tokens
Like with Ethereum, with ERC-20 Tokens the values are based on gas price estimation:
Enum: | Description |
---|---|
fast | 120% |
default | 100% |
economic | 95% |
x-economic | 90% |
xx-economic | 85% |
xxx-economic | 80% |
xxxx-economic | 75% |
Litecoin
Like with Bitcoin, these represent confirmation targets, which means it's calculated based on current network fees to be confirmed within X number of blocks, number of blocks for each are:
Enum: | Description |
---|---|
fast | 10 |
default | 25 |
economic | 50 |