-
-
Save ahermida/16eba0be0ee6b196baa56ab38f442dae to your computer and use it in GitHub Desktop.
Will fetch a value from on-chain and put it back on-chain!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tasks": [ | |
{ | |
"httpTask": { | |
"url": "https://fullnode.testnet.aptoslabs.com/v1/accounts/0x790e386260446eeea471da8050103df2b1cbb884a8a120478e04b8c9ff253f2/resource/0xb27f7bbf7caf2368b08032d005e8beab151a885054cdca55c4cc644f0a308d2b::aggregator::Aggregator", | |
"method": "METHOD_GET" | |
} | |
}, | |
{ | |
"jsonParseTask": { | |
"path": "$.data.latest_confirmed_round.result.value", | |
"aggregationMethod": "NONE" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment