BlocktrailSdk
SOON
PM> Install-Package BlocktrailSdk
Example
This example demonstrates retrieving transaction information using a hash.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
#r "BlocktrailSdk.dll" open BlocktrailSdk open BlocktrailSdk.Models BlocktrailSdk.Config.ApiKey <- "INSERT_YOUR_API_KEY"; let transaction = BlocktrailSdk.Client.GetTransaction "c326105f7fbfa4e8fe971569ef8858f47ee7e4aa5e8e7c458be8002be3d86aad" printfn "Hash: %s" transaction.Hash printfn "Confirmations: %i" transaction.Confirmations |
Samples & documentation
The library comes with comprehensible documentation.
It includes tutorials automatically generated from *.fsx
files in the content folder.
The API reference is automatically generated from Markdown comments in the library implementation.
Tutorial contains a further explanation of this sample library.
API Reference contains automatically generated documentation for all types, modules and functions in the library. This includes additional brief samples on using most of the functions.
Contributing and copyright
The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.
The library is available under the MIT license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.
from BlocktrailSdk
Full name: BlocktrailSdk.Config.ApiKey
Full name: Index.transaction
from BlocktrailSdk
Full name: BlocktrailSdk.Client.GetTransaction
Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn