cryptum
ENGLISH
Blockforce
GitHub
API Reference
Search
⌃K
Links
ENGLISH
What is Cryptum
Architecture
Integrated blockchains
Pricing and credits
👨💻
For Developers
Overview for devs
Features and credits
▶
Getting started
💸
Get test currencies
📋
SDK beginner guides
🔎
Blockchain queries
Wallet information
Get transaction by hash
Get block information
Get transaction receipt by hash
Get fees information
Get NFT data
Get NFT balance
Get UTXOs (Unspent transaction outputs)
🗂
Blockchain wallets
🪙
Tokens ERC20
🖼
NFTs - Digital assets
🧾
Smart Contracts
📈
Prices
🪝
Webhooks
🤑
Staking (Celo)
💱
Swap tokens
⤴
Switching to Mainnet
🖥
Dashboard for devs
Cryptum SDK Reference
SDK API Connector
Cryptum API Reference
🛍
For Sellers
Overview for Sellers
Getting started
NFT Plugin guides
Checkout Plugin guides
Dashboard for Sellers
Store APIs
GLOSSARY
Blockchain terms
Cryptum terms
Powered By
GitBook
Get block information
Get block information from blockchain.
sdk.transaction.getBlock(opts)
opts.block
(string)(
required
) - block number.
opts.protocol
(string)(
required
) - blockchain protocol.
const
tx
=
await
sdk
.
transaction
.
getBlock
({
block
:
'111111'
,
protocol
:
'STELLAR'
})
// Raw block information returned from the Blockchain
Previous
Get transaction by hash
Next
Get transaction receipt by hash
Last modified
15d ago