getBlockTransactions

Retrieves the block for the ID given in Args and all the transactions for this block.

type GetBlockTransactionsArgs struct {
    ID string `json:"block_id"`
}

Response: type TransactionResponse struct {
    Txs     []*chain.Transaction `json:"txs"`
    BlockId string               `json:"id"`
}

Last updated