Skip to content

Commit

Permalink
Update tx encoding casing (#135)
Browse files Browse the repository at this point in the history
Priority Fee API expected encoding in lowercase but the enum values are in uppercase so the payload was always incorrect
  • Loading branch information
DmitriDmitriDmitri authored Aug 20, 2024
1 parent acea551 commit 476b136
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/types/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,11 +585,11 @@ export enum PriorityLevel {
}

export enum UiTransactionEncoding {
Binary = 'Binary',
Base64 = 'Base64',
Base58 = 'Base58',
Json = 'Json',
JsonParsed = 'JsonParsed',
Binary = 'binary',
Base64 = 'base64',
Base58 = 'base58',
Json = 'json',
JsonParsed = 'jsonParsed',
}

// https://jito-foundation.gitbook.io/mev/mev-payment-and-distribution/on-chain-addresses
Expand Down

0 comments on commit 476b136

Please sign in to comment.