@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
13 lines (10 loc) • 306 B
text/typescript
import { Transaction } from '../../vms/common/transaction';
import { EVM } from '../constants';
import type { Id } from '../fxs/common';
export abstract class EVMTx extends Transaction {
abstract blockchainId: Id;
vm = EVM;
getBlockchainId = () => {
return this.blockchainId.toString();
};
}