v2
latestOpenAPI 3.0.12026-07-26334612609.5 KBSDK
Simulate a Solana transaction
post/sdk/{environmentId}/solana/simulateTransaction
Path parameters
environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f
ID of the environment
Request body
Example request
{
"chain": "101, 103, 201, mainnet, devnet, etc",
"accountAddress": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
"domain": "An example name",
"method": "An example name"
}Response
Simulated transaction result
Example response
{
"inAssets": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
}
}
],
"outAssets": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
}
}
],
"counterparties": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"assetExposures": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
}
}
]
}