grandpa_subscribeJustifications
Allows clients to subscribe to grandpa justifications.
Example Request and Result for grandpa_subscribeJustifications method
In this section, we provide an illustrative example of a request made to retrieve details contents using the grandpa_subscribeJustifications
method. Additionally, we present the resulting response containing information about subscribing to grandpa justifications using WS subscription.
Parameters
- none
info
The example in this section uses a non-existing project id.
Make sure you replace it with your Vara Mainnet endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Allows clients to subscribe to grandpa justifications.
POST
wss://vara-mainnet.blastapi.io/<project-id>
- 200: OK Expand for a detailed response example
{
"jsonrpc": "2.0",
"method": "grandpa_justifications",
"params": {
"subscription": "vfdeQx716vXpyNl5",
"result": "0x110a000000000000b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0094b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00369d84281dc275777567859146ea4d0146b5c792840d212cd27e3b36adccb1a4e635d3e856ea18d2e1ba1a9209cc87ed09269e1fb1b7af145caeb19e36aed90b0c9fe3de8a0dc65acaccbf16df95f5404114ed07822be50c7c173b3dec18e690b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00f3073cb368c9cb238bd14f79b38eb982e04dacb43f69b8f512c61ba07909b936ce021614ca73d3cb2cfd92091b46ed85e318de3594f82f592f66e317748dc20614ad5a51e7c24267091ee882723a2fdd35ff5e2344d9f7de580fde5441dc2f42b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00add1461f6cd50a0d607e7d7c239d61bd8511b3300c18dc4ae55e4fd23325d2e5bcc91e2c4010e30d84073013b85cce78532639a71e395f83f7b266603af66f0923dee695be6c6054d7bb79b250146dbe9052e78408916f6420401f68188896b9b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0031fbac160582a181360ff0e7da188ed9d23f19e6cb4648e1e876a1885f96df45c3a01e35160408a4626e839e8610a35a5c4021c00b252fd8a2015b66cbbf6c0d3aa3f1bb2fd510564b11b498c90247d4b37bfbc50a5b39ca5fe6865da45674ebb35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00db89e332cfec390610aa72fa78a264f7e204bc0de6055f028a72bfa2a431abb8823a3f65bc6abcf948e529b3f2e5f9aa238ed87949bb87b483ab6d26c6a5170750f66c0034eb265efdec37e96c84f6c421da145d0dc9e26ba08406f74bbfc1e7b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a009cdabe90a162a5d9d622ba1c8fa7be2267ec4619eb128ca9a1b3528f608962889a0eaf90fdc540f685bdece57dec709a4cc8efdd22944c3a659c0bd5ad64890c5444aecf3e12dadd4e6f93ca04a7071cda2e7f90e8da7c98f55c27ab291a15f4b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00e1613ead6060f6c8ae54057945e36c4189a56704c7ef354bb534d237a950bf90caeecbc24a89c40930336855857bf9a68f124ff91dee3b6f6dfeb9a7c06a020556ace4b775e9e8cdd3944b4ebc3ab625bf97bee6e700488f9dbf329ade1ac489b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0094828ac32aa08984933e691f576e953b406e5c5f895cfb36eafa82092ea1654a6c59f6082044c51305514af56ef736f53327ace23f80cb6b825b19654368d0085a3a3164398467fa7ae494f1f83f855f428a10923e5d9336c68ca1495f067f84b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00949332d062fa1796e43d180420af402d95cd19abccc5c8b0503e801c6f0fa91255173b3a0693cfa983cba94d65ec1f0cf0accc982b7dc65e5406f82a4bd5fb025f2fd0ec9657a7fa0e36db47bda63bbed127d0b28a5aab7be57bda52d863ecd0b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a007bcaafc8b0a671a42fe11bd038976bc43b01e86f588290f472c8ba8fb0a1572d3e7daaf03c616c6965170d520c724b1c89f65e59495bc4c4e90e4279a9f5fb076534a8f078c9198c6bc7fa5e3ea7cf45cffdcf9f5391f1e2ebda5d9bada35284b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00178c4bb625871648c9212d59f6042ac5447ed0ac39169fcb6fb7bd08671497bfa94075e9ab2af7762d00604dcd77ae2996303bd947b012464283898e36fee0026942bae124d85d505c9629c522d45fd4a67fbddd4eab964c5b9a3b44afed5c78b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0015010c377ddae1039a4ac3f265938b619dc654dd12275d759e8642ee79067f2f0546769ba75bbb9f6d2f863560e3ccf057cf1c687d3826de00ef90d30a691c0f69e5838d7fd1a82c1a4880a3aa172520722824657b5569f7a058b563ec272128b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00564ff28753292235f15d231ec4e5e78fe878aec60e3908339109f7fd51f3c99937e2c2bca2b1077d07a094e94a2c03001d8c4f5aa6bd3e3c68b2bf9f0eff42066c3eac8761cedb979713919c3db2b5bcb5d0893bf2d91648b5d50cf27530dd93b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00ef57aac73ed27abb0c87bcebab59d466de5fb0e4aa6db126c719731069a2bcede0061c12ac7dc62da34603ee43e83d81d65e3088e3dea81537cc21acc677e80470c782cde31d731ebf9417c80abab1c3945e12eecfdc71adc03e2686fb3a6c1bb35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00616970762b3ab63a9769f324cdd7bd9870aa5a1947e0007402427deb8158ffd9de846e5e9a7ac1948e4e0eb664e0dae25428fb7c724ce84f089d32198fb59a0a724b54851966f862226e1892975858b59db7dc49f899adbeba305e5275b6c9e3b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00b030442150067e62830bc29a7298431816d49420d6c3f22a7044214b53623db446d5bdb015ea1e4529cdf7cd15f3e49d27469e9e4ac4cd94da8741160c0a7f02867896dbe5b7cadeb8323a36568ec0b3e3659c3479e247719c158e7d23122fc9b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00bfc7dea3b2c932fa754622b531f455aafff694cbf71cd9e57925e5918f3bbfb4c3018854fe93bdc09e162ee7d2c9df58953b769ca6f5ef32449957e05732c00989d46861d8d7da96ae6d04f28b9721aae24adf1f4cde4d33cb7be2c2c34a522fb35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00c39fe6e27fb78c99e27c521d3b07df9911f78cdd8d67883a7ec5b1452eca2bbe64430982f8543fb0cc547d8057940101b93d3035b2fc67a596e9c5024ea2cc0f907102f212c2fb608e5f494b9608df6909a923a9d5dcdb290c46fa94d5335e65b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a005eda141d128f0805f31e85d4537d30cdacdc8fc208a0badd777716865b2f20fbee14f35e852d2e6b7447ba9316e7d7fa5e4a06b7d1efcca7c64dcf3d29073f0c9a37e3177053953bc4cd147cf82b35908cbe4cd3dc7ce127598e5db9e54fd9f4b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a007c893af36324067efdd056d73c3f3d146da98346896ecf1264317bc1fe0aa26817e66f9a3277be6beb3b46dd7c427ad7bb1ca546fb1a0e169c226f396856ad079e43088c9e1ea8252d04ddcb6745376808229589eaf3e6d840db5883f02bcf5cb35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a003032928c824802e27eb2be242a61976972d0e2409fcf983d6701ebd973acfaa3515d0400f0bca6512d17d82bb52cd3c10eaeea8d1eaf14511709b3d8f2294605a7871cf138c75584625685930ab5f6e630388fada9efab28932deec88b1eabcab35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a003a0a808681c29f20685def9472542d23a93323d4d7164c9f8bf0a67d3ce65bc8a8f4391a6ca75b21f5b3a6d55bbd52df2adbf4ddd8c8898d4ad51018cdd0680fa7bfbe2b43897e3ea64f02d730b829038c4ea39df9bb7ea2353719c6def7c979b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0051ff148e303699d52bfd0039a96d8c327b13df8db6669bc171d399eb07b70b29f7183369dc1848eecb6b517ec0ef699a683271c6517fd920c49a244e7226b90aa94919797c3cd522ab4de174b9bbd830020372f4c6445ba7d90b491c3547eabfb35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a002317d007fa865fe2e93d733a8bd0e230f788d0623883f6ad6e8b612dd1d304bd65b2a0bcb79524b96cf521311a861a6827c0f30609c8b276b0828c2ac5445506a97724cd7aa02f0462a2365b6457777e12a52d8de22c11b9cf91ba9e16db7c97b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0087f9e9e5af959557f0de68fb61886c662519ca7ad8c970e0b1a79bca184b9dc9405dc939ccf6fab074bb9068890ad94e0b389070bb78605b685df24a9536270aabd5abbf50d5732c9bf9f9305ba8cd0893f699d0d5204c4c59c4ce298c6591a5b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a0036e66e777daea4768bbbfa1a4755b9d7e87ecbd7c33a9baafc730feeec1151b39eb6922827763fdbc25a699a6b91a7321cb18e92c32ddea02fd6351ad203080fd85d92ddf68db57764e4ef6d93227925843a4a1a9e94c229af09040908731e86b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00026a4feb5e396fec0912955db15b61ea391f7000e3d1c66d78506858e746e82f86af816b4376209cdb1c7118ca2a4347134d2085b70930189230e5609c862007e1ae641c5c112970b6ad9e3b6853048279517c8c587f13a59bd26063a8a32798b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a004759c5a556829370a3ccd1090b7a7041f682c4e8b2ab750b197fe0957dc2e5bc057f53fd0cc25a59d74f86a1e2966983528841cc72a5905f55f5c7a99188ec0de37e04f75eed776551e8dbc72fb4014c1474206429def1e2adb758b865bc2341b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00a66c2ad3af6037d1fd505e66ee0d459bea0d0cc4766902064fdb7f1c8f27107c6ddbde15ec59f2be021a86204f616d70046caf6f539fc07d9c1bba28e32d2f0de55cbde1cf31fe6b891ac4cffcce790015e77ddd0f6943653e9b4d722f72baa4b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00b3e78e4350d0f804630828de3d2592780f501e260063fee837c97a9f08b3bfde92455f65b73d1d7afa5d5a7be5f283b418f426eba5653627d874ea8db0373706e6260f56e3c3b89a57cdbb3749a11934d090b5dd1961357e68ab6db8a34c9237b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00ebbc8a5e58d85925b7662e9b6eb895fe2dc197d1a4af994a5fd92707653097d3bda3ae052cc92487789a11d25ab5cf88b88e679b9d664efb736f84838b66bc07eb852b29b911781fd70f4c88e7f250eadec0484dca45f9e4098f785db825ca85b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a002a3f39abea38124dc1008850a5eded98af61b69e9782d887652ae3918b44950c9fd8a4d6376872257a427c95bcfbe6a2a407755f5124716f09f3bbc0ac53a40eeba8b90ad03efb74835e44d25bc1768770997393cab97ee910d42b2aab9a86d5b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a005ac68936d62b9a9fa07aa19c49b990e32880726505746b26af03639792ec53f00379229dc6edf07ee53a1a7de3fcfad220013a2535852507d3fd01537d45e607eff3b3fadd3d7e00a0e76d80e6a9167b638449fb363a11a650fc46637c5d7a3bb35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00b8be25124a1ad8ce7716d6b2effd8e2871fd91985d759aa9a57cf524c8c7de6b4258fa736e6217fe19c4abd31db45fda28a8cd49e58e1c074db347b0e8a4ad00f4c6741e10745126d50cc11086bef207dc0bd671a81841dc7dca64f5a070e2f0b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00a90d84a320810361e4d726d97baa7714671300b7f9ad021511c208ca8cca2a25d4bcf23573b4399cebd1b2f1fe57a7a87cf2d2a1f44a6bd35ef7cd7d6618b00bf6ab8313280372478963932d876b21c2dc75b4bde8e70d02c1b7f155f68853d9b35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a00a8bd2fd704b07ba0e56642ddec94cd761976310980c39ebb80beeb3b382b2247b40401cedb2cfed8ef749604a903c276dfb7799ccd01b050bc0de9aa6e8ef30cf7042f95330075372e3fb5f4a8f7580894222ed609537448bdad2ffa1970cc8db35d2dc97f9ffad1c09582236888aa456764931d0bb0c23015dd0ab532721ee29a329a009ce371980f54cc272ffce968dea291f7cb086c36c85e233235e44556e0329b2ec1d86eb38ae72273b9da0f824b16c71dc5a57714f1c10db0431adf734c149502f7b98eef40430f05db436d6b3e16d9174b70ba974a3686d11125a5e1aa1ddf7b00"
}
}
Curl Request example
wscat -c 'wss://vara-mainnet.blastapi.io/<project-id>'
# wait for connection
messasge:
{
"id": 1,
"jsonrpc": "2.0",
"method": "grandpa_subscribeJustifications",
"params":[]
}