@exodus/solana-api 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/api.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-api",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "Exodus internal Solana asset API wrapper",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@exodus/assets-testing": "^1.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a780988c920ac32cfc7e367686bb165170641470"
|
|
48
48
|
}
|
package/src/api.js
CHANGED
|
@@ -151,7 +151,9 @@ export class Api {
|
|
|
151
151
|
|
|
152
152
|
async getPriorityFee(transaction) {
|
|
153
153
|
// https://docs.helius.dev/solana-rpc-nodes/alpha-priority-fee-api
|
|
154
|
-
const result = await this.rpcCall('getPriorityFeeEstimate', [
|
|
154
|
+
const result = await this.rpcCall('getPriorityFeeEstimate', [
|
|
155
|
+
{ transaction, options: { recommended: true } },
|
|
156
|
+
])
|
|
155
157
|
return result.priorityFeeEstimate
|
|
156
158
|
}
|
|
157
159
|
|