Skip to content

Commit

Permalink
solana-labs#2406: Init TransferFee extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrushi20 committed Apr 20, 2024
1 parent 031ab69 commit d3d1bef
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/rpc-graphql/src/schema/instruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,29 @@ export const instructionTypeDefs = /* GraphQL */ `
mint: Account
newAuthority: Account
}
"""
Token Extension 2022: TransferFee
"""
type TransferFeeExtension {
mint: String,
transferFeeBasisPoints: INT,
maximumFee: INT,
transferFeeConfigAuthority: String,
withdrawWithheldAuthority: String,
source: String,
destination: String,
tokenAmount: TokenAmount,
feeAmount: TokenAmount,
signers: [Address],
authority: String,
multisigWithdrawWithheldAuthority: String,
feeRecipient: String,
sourceAccounts: [String],
multisigtransferFeeConfigAuthority: String,
multisigAuthority: String,
}
# TODO: Extensions!
# - TransferFeeExtension
Expand Down

0 comments on commit d3d1bef

Please sign in to comment.