File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -854,6 +854,27 @@ components:
854854 description : Optional configuration object containing additional options.
855855 schema :
856856 $ref : " ./transaction.yaml#/components/schemas/SimulateTransactionConfig"
857+ examples :
858+ - name : simulateTransaction example
859+ params :
860+ - name : Transaction
861+ value : " AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDZDnD3LUKXWQB8kE0TBLbgGOZmAFW2KdPBOEJie5JAGbhbwJIKOS2F6RAMYzzNMwSCCpNg9MnCHEbVcVPNRByxQbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCpjJclj04lr3XiJv5dZ3MN1MlkHd0BkPZ/IFOrnFYCxQECAgABDAIAAAAgTgAAAAAAAA=="
862+ - name : Configuration
863+ value :
864+ encoding : " base64"
865+ result :
866+ name : Simulated transaction result
867+ value :
868+ err : null
869+ logs :
870+ - " Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb invoke [1]"
871+ - " Program log: Instruction: Transfer"
872+ - " Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb consumed 1714 of 200000 compute units"
873+ - " Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb success"
874+ accounts : null
875+ unitsConsumed : 1714
876+ returnData : null
877+ innerInstructions : null
857878 result :
858879 name : Simulated transaction result
859880 description : The result of simulating the transaction.
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ methods:
7777 - $ref : ../_components/solana/methods.yaml#/components/methods/minimumLedgerSlot
7878 - $ref : ../_components/solana/methods.yaml#/components/methods/requestAirdrop
7979 - $ref : ../_components/solana/methods.yaml#/components/methods/simulateBundle
80+ - $ref : ../_components/solana/methods.yaml#/components/methods/simulateTransaction
8081 - $ref : ../_components/solana/methods.yaml#/components/methods/getTransaction
8182x-bot-ignore :
8283 - getAsset
You can’t perform that action at this time.
0 commit comments