DocumentationCoursesGuidesCookbookTerminologyRPC APIStack Exchange

Home>Solana Documentation>Solana RPC Methods>Websocket Methods

logsUnsubscribe RPC Method

Edit Page

Unsubscribe from transaction logging

Parameters #

integer required

subscription id to cancel

Result #

<bool> - unsubscribe success message

Code sample #

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "logsUnsubscribe",
  "params": [0]
}

Response #

{ "jsonrpc": "2.0", "result": true, "id": 1 }
Previous
« logsSubscribe
Next
programSubscribe »
  • Solana RPC Methods
    • Data Structures as JSON
    • HTTP Methods
      • getAccountInfo
      • getBalance
      • getBlock
      • getBlockCommitment
      • getBlockHeight
      • getBlockProduction
      • getBlockTime
      • getBlocks
      • getBlocksWithLimit
      • getClusterNodes
      • getEpochInfo
      • getEpochSchedule
      • getFeeForMessage
      • getFirstAvailableBlock
      • getGenesisHash
      • getHealth
      • getHighestSnapshotSlot
      • getIdentity
      • getInflationGovernor
      • getInflationRate
      • getInflationReward
      • getLargestAccounts
      • getLatestBlockhash
      • getLeaderSchedule
      • getMaxRetransmitSlot
      • getMaxShredInsertSlot
      • getMinimumBalanceForRentExemption
      • getMultipleAccounts
      • getProgramAccounts
      • getRecentPerformanceSamples
      • getRecentPrioritizationFees
      • getSignatureStatuses
      • getSignaturesForAddress
      • getSlot
      • getSlotLeader
      • getSlotLeaders
      • getStakeMinimumDelegation
      • getSupply
      • getTokenAccountBalance
      • getTokenAccountsByDelegate
      • getTokenAccountsByOwner
      • getTokenLargestAccounts
      • getTokenSupply
      • getTransaction
      • getTransactionCount
      • getVersion
      • getVoteAccounts
      • isBlockhashValid
      • minimumLedgerSlot
      • requestAirdrop
      • sendTransaction
      • simulateTransaction
    • Websocket Methods
      • accountSubscribe
      • accountUnsubscribe
      • blockSubscribe
      • blockUnsubscribe
      • logsSubscribe
      • logsUnsubscribe
      • programSubscribe
      • programUnsubscribe
      • rootSubscribe
      • rootUnsubscribe
      • signatureSubscribe
      • signatureUnsubscribe
      • slotSubscribe
      • slotUnsubscribe
      • slotsUpdatesSubscribe
      • slotsUpdatesUnsubscribe
      • voteSubscribe
      • voteUnsubscribe
      • confirmTransaction
      • getConfirmedBlock
      • getConfirmedBlocks
      • getConfirmedBlocksWithLimit
      • getConfirmedSignaturesForAddress2
      • getConfirmedTransaction
      • getFeeCalculatorForBlockhash
      • getFeeRateGovernor
      • getFees
      • getRecentBlockhash
      • getSignatureConfirmation
      • getSignatureStatus
      • getSnapshotSlot
      • getStakeActivation

Managed by

© 2024 Solana Foundation. All rights reserved.
Solana
  • Grants
  • Break Solana
  • Media Kit
  • Careers
  • Disclaimer
  • Privacy Policy
Get Connected
  • Blog
  • Newsletter
© 2024 Solana Foundation. All rights reserved.