ksm

KSM

POST

GET

attention-sign-fillauthor_hasKeyattention-sign-fillauthor_hasSessionKeysattention-sign-fillauthor_insertKeyattention-sign-fillauthor_pendingExtrinsicsattention-sign-fillauthor_removeExtrinsicattention-sign-fillauthor_rotateKeysattention-sign-fillauthor_submitAndWatchExtrinsicattention-sign-fillauthor_submitExtrinsicattention-sign-fillbabe_epochAuthorshipattention-sign-fillbeefy_getFinalizedHeadattention-sign-fillbeefy_subscribeJustificationsattention-sign-fillchain_subscribeFinalizedHeadsattention-sign-fillchain_subscribeNewHeadsattention-sign-fillchildstate_getKeysattention-sign-fillchildstate_getKeysPagedattention-sign-fillchildstate_getStorageattention-sign-fillchildstate_getStorageEntriesattention-sign-fillchildstate_getStorageHashattention-sign-fillchildstate_getStorageSizeattention-sign-fillcontracts_callattention-sign-fillcontracts_getStorageattention-sign-fillcontracts_instantiateattention-sign-fillcontracts_rentProjectionattention-sign-fillcontracts_upload_codeattention-sign-filldev_getBlockStatsattention-sign-fillengine_createBlockattention-sign-fillengine_finalizeBlockattention-sign-filleth_accountsattention-sign-filleth_blockNumberattention-sign-filleth_callattention-sign-filleth_chainIdattention-sign-filleth_coinbaseattention-sign-filleth_estimateGasattention-sign-filleth_gasPriceattention-sign-filleth_getBalanceattention-sign-filleth_getBlockByHashattention-sign-filleth_getBlockByNumberattention-sign-filleth_getBlockTransactionCountByHashattention-sign-filleth_getBlockTransactionCountByNumberattention-sign-filleth_getCodeattention-sign-filleth_getFilterChangesattention-sign-filleth_getFilterLogsattention-sign-filleth_getLogsattention-sign-filleth_getProofattention-sign-filleth_getStorageAtattention-sign-filleth_getTransactionByBlockHashAndIndexattention-sign-filleth_getTransactionByBlockNumberAndIndexattention-sign-filleth_getTransactionByHashattention-sign-filleth_getTransactionCountattention-sign-filleth_getTransactionReceiptattention-sign-filleth_getUncleByBlockHashAndIndexattention-sign-filleth_getUncleByBlockNumberAndIndexattention-sign-filleth_getUncleCountByBlockHashattention-sign-filleth_getUncleCountByBlockNumberattention-sign-filleth_getWorkattention-sign-filleth_hashrateattention-sign-filleth_miningattention-sign-filleth_newBlockFilterattention-sign-filleth_newFilterattention-sign-filleth_newPendingTransactionFilterattention-sign-filleth_protocolVersionattention-sign-filleth_sendRawTransactionattention-sign-filleth_sendTransactionattention-sign-filleth_submitHashrateattention-sign-filleth_submitWorkattention-sign-filleth_subscribeattention-sign-filleth_syncingattention-sign-filleth_uninstallFilterattention-sign-fillgrandpa_proveFinalityattention-sign-fillgrandpa_subscribeJustificationsattention-sign-fillmmr_generateProofattention-sign-fillmmr_rootattention-sign-fillmmr_verifyProofattention-sign-fillmmr_verifyProofStatelessattention-sign-fillnet_listeningattention-sign-fillnet_peerCountattention-sign-fillnet_versionattention-sign-filloffchain_localStorageGetattention-sign-filloffchain_localStorageSetattention-sign-fillpayment_queryFeeDetailsattention-sign-fillpayment_queryInfoattention-sign-fillstate_callattention-sign-fillstate_getChildKeysattention-sign-fillstate_getChildReadProofattention-sign-fillstate_getChildStorageattention-sign-fillstate_getChildStorageHashattention-sign-fillstate_getChildStorageSizeattention-sign-fillstate_getKeysattention-sign-fillstate_getKeysPagedattention-sign-fillstate_getPairsattention-sign-fillstate_getReadProofattention-sign-fillstate_getStorageattention-sign-fillstate_getStorageHashattention-sign-fillstate_getStorageSizeattention-sign-fillstate_queryStorageattention-sign-fillstate_queryStorageAtattention-sign-fillstate_subscribeRuntimeVersionattention-sign-fillstate_subscribeStorageattention-sign-fillstate_traceBlockattention-sign-fillstate_trieMigrationStatusattention-sign-fillsync_state_genSyncSpecattention-sign-fillsystem_accountNextIndexattention-sign-fillsystem_addLogFilterattention-sign-fillsystem_addReservedPeerattention-sign-fillsystem_dryRunattention-sign-fillsystem_localListenAddressesattention-sign-fillsystem_localPeerIdattention-sign-fillsystem_nameattention-sign-fillsystem_networkStateattention-sign-fillsystem_nodeRolesattention-sign-fillsystem_peersattention-sign-fillsystem_removeReservedPeerattention-sign-fillsystem_reservedPeersattention-sign-fillsystem_resetLogFilterattention-sign-fillweb3_clientVersionattention-sign-fillweb3_sha3
chevron-right

Last updated on January 1, 1970

1 min read

Method system_localListenAddresses undefined ()
connect with JSON-RPC protocol

system_localListenAddresses

info-circle-fill

Method not allowed

info-circle-fill

The addresses include a trailing /p2p/ with the local PeerId, and arethus suitable to be passed to addReservedPeer or as a bootnode addressfor example

Parameters

-

Request

curl --location --request POST 'https://ksm.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "system_localListenAddresses",
"params": [],
"id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
banner icon

Start Building with GetBlock RPCs for Free