parent
17bcd47f37
commit
44d58f1ba1
@ -0,0 +1,22 @@ |
||||
import { BN, Signature } from '@harmony-js/crypto'; |
||||
import { |
||||
Directive, |
||||
CreateValidator, |
||||
EditValidator, |
||||
Delegate, |
||||
Undelegate, |
||||
CollectRewards, |
||||
} from '@harmony-js/staking'; |
||||
|
||||
export interface StakingTxParams { |
||||
directive: Directive; |
||||
stakeMsg: CreateValidator | EditValidator | Delegate | Undelegate | CollectRewards; |
||||
nonce: number | string; |
||||
gasLimit: number | string | BN; |
||||
gasPrice: number | string | BN; |
||||
chainId: number; |
||||
rawTransaction: string; |
||||
unsignedRawTransaction: string; |
||||
signature: Signature; |
||||
from: string; |
||||
} |
Loading…
Reference in new issue