blockfrost-go
Golang SDK for Blockfrost.io
File Explorer
- codeql-analysis.yml
- test.yml
- main.go
- main.go
- main.go
- main.go
- blockfrost.txt
- main.go
- main.go
- main.go
- main.go
- main.go
- main.go
- main.go
- version.go
- account.json
- account_associated_addresses.json
- account_associated_assets.json
- account_delegation_history.json
- account_history.json
- account_mir_history.json
- account_registration_history.json
- account_rewards_history.json
- account_withdrawal_history.json
- address.json
- address_details.json
- address_extended.json
- asset.json
- genesis.json
- ipfs_object.json
- mempool.json
- transaction.json
- metadata.json
- metadata_in_cbor.json
- metadata_in_json.json
- network.json
- address.json
- ticker.json
- ticker_records.json
- pools.json
- pools_block.json
- pools_delegator.json
- pools_history.json
- pools_metadata.json
- pools_relays.json
- pools_retired.json
- pools_retiring.json
- pools_specific.json
- pools_update.json
- redeemer.json
- script.json
- scripts.json
- transaction.json
- transaction_cbor.json
- transaction_utxo.json
- tx_cbor.json
- tx_delegations.json
- tx_mirs.json
- tx_stakeaddr_cert.json
- tx_withdrawals.json
- addresstickerrecordsintegration.golden
- addressutxos.golden
- addressutxosasset.golden
- blocksaddressesintegration.golden
- blocktransactionsallintegration.golden
- epochblockdistributionbypoolintegration.golden
- epochblockdistributionintegration.golden
- epochintegration.golden
- epochnextintegration.golden
- epochparametersintegration.golden
- epochspreviousintegration.golden
- epochstakedistributionbypoolintegration.golden
- epochstakedistributionintegration.golden
- genesisintegration.golden
- integrationresourceredeemers.golden
- integrationresourcescriptcbor.golden
- integrationresourcescriptdatum.golden
- integrationresourcescriptdatumcbor.golden
- integrationresourcescriptjson.golden
- ipfsresourceaddintegration.golden
- ipfsresourcepinintegration.golden
- ipfsresourcepinnedintegration.golden
- ipfsresourcepinnedobjectsintegration.golden
- ipfsresourceremoveintegration.golden
- nutlinkintegration.golden
- resourceaddress.golden
- resourceaddressdetails.golden
- resourceaddressextended.golden
- resourceaddresstransactions.golden
- resourceassetddressesintegration.golden
- resourceassethistoryintegration.golden
- resourceassetintegration.golden
- resourceassetmetadataintegration.golden
- resourceassetsbypolicyintegration.golden
- resourceassetsintegration.golden
- resourceassettransactionintegration.golden
- resourcehealthintegration.golden
- resourceinfointegration.golden
- resourcenetworkerasintegration.golden
- stakeaddresscertsintegration.golden
- tickerrecordsintegration.golden
- tickersintegration.golden
- transactioncborintegration.golden
- transactiondelegationcertsintegration.golden
- transactionevaluateintegration.golden
- transactionevaluateutxosintegration.golden
- transactionintegration.golden
- transactionmetadata.golden
- transactionmetadataincborsintegration.golden
- transactionmirsintegration.golden
- transactionpoolretirementsintegration.golden
- transactionpoolupdatecertsintegration.golden
- transactionpoolupdatesintegration.golden
- transactionredeemersintegration.golden
- transactionrequiredsignersintegration.golden
- transactionstakeaddresscertsintegration.golden
- transactionutxos.golden
- transactionwithdrawlsintegration.golden
- .gitignore
- api_account.go
- api_account_test.go
- api_addresses.go
- api_addresses_test.go
- api_assets.go
- api_assets_test.go
- api_block.go
- api_block_test.go
- api_epochs.go
- api_epochs_test.go
- api_governance.go
- api_governance_test.go
- api_health.go
- api_health_test.go
- api_ledger.go
- api_ledger_test.go
- api_mempool.go
- api_mempool_test.go
- api_metadata.go
- api_metadata_test.go
- api_metrics.go
- api_metrics_test.go
- api_network.go
- api_network_test.go
- api_nutlink.go
- api_nutlink_test.go
- api_pool.go
- api_pool_test.go
- api_script.go
- api_script_test.go
- api_transactions.go
- api_transactions_test.go
- client.go
- client_test.go
- doc.go
- go.mod
- go.sum
- ipfs.go
- ipfs_test.go
- LICENSE
- Makefile
- README.md
- types.go
- util.go
- util_test.go
- webhook.go
- webhook_test.go
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
fmt
View Details ▼
fmt
Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default).
fmt {{path/to/file}}
Reformat a file:
fmt {{[-w|--width]}} {{n}} {{path/to/file}}
Reformat a file producing output lines of (at most) `n` characters:
fmt {{[-s|--split-only]}} {{path/to/file}}
Reformat a file without joining lines shorter than the given width together:
go get
View Details ▼
go get
Add a dependency package, or download packages in legacy GOPATH mode.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go get {{example.com/pkg}}
Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:
go get {{example.com/pkg}}@{{v1.2.3}}
Modify the package with a given version in module-aware mode:
go get {{example.com/pkg}}@{{none}}
Remove a specified package:
go test
View Details ▼
go test
Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go test
Test the package found in the current directory:
go test -v
[v]erbosely test the package in the current directory:
go test -v ./...
Test the packages in the current directory and all subdirectories:
