UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

21 lines 587 B
import { networks } from '@btc-vision/bitcoin'; export class ContractBaseMetadata { network; constructor(network = networks.bitcoin) { this.network = network; } /** * @description Get the contract address * @param {Network} network - The network to get the address for */ static getAddress(_network = networks.bitcoin) { throw new Error('Method not implemented.'); } /** * @description Get the contract address */ getAddress() { return this.address; } } //# sourceMappingURL=ContractBaseMetadata.js.map