mirror of
https://github.com/alexgo-io/gaze-indexer.git
synced 2026-04-30 12:41:59 +08:00
13 lines
266 B
Go
13 lines
266 B
Go
package btcclient
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
|
"github.com/gaze-network/indexer-network/core/types"
|
|
)
|
|
|
|
type Contract interface {
|
|
GetTransactionByHash(ctx context.Context, txHash chainhash.Hash) (*types.Transaction, error)
|
|
}
|