helium-api 3.3.1

An async library for the Helium blockchain REST API
Documentation
1
2
3
4
5
6
7
8
use crate::{models::transactions::Transaction, *};

/// Get a specific account by its address
pub async fn get(client: &Client, hash: &str) -> Result<Transaction> {
    client
        .fetch(&format!("/transactions/{}", hash), NO_QUERY)
        .await
}