All URIs are relative to https://cardano-mainnet.blockfrost.io/api/v0
Method | HTTP request | Description |
---|---|---|
getGenesis | GET /genesis | Blockchain genesis |
open class func getGenesis(completion: @escaping (_ data: GenesisContent?, _ error: Error?) -> Void)
Blockchain genesis
Return the information about blockchain genesis.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import BlockfrostSwift
// Blockchain genesis
CardanoLedgerAPI.getGenesis() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]