Skip to content

Commit

Permalink
Expose call meta
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Oct 5, 2018
1 parent 3419a2f commit 947717c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/types/src/UncheckedMortalExtrinsic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import u8aConcat from '@polkadot/util/u8a/concat';
import Address from './Address';
import Call from './Call';
import Extrinsic from './Extrinsic';
import { FunctionMetadata } from './Metadata';
import SignaturePayload from './SignaturePayload';
import TransactionSignature from './TransactionSignature';

Expand Down Expand Up @@ -55,6 +56,10 @@ export default class UncheckedMortalExtrinsic extends Extrinsic {
return this._signature;
}

get meta (): FunctionMetadata {
return this._call.meta;
}

get methodIndex (): number {
return this._call.methodIndex;
}
Expand Down

0 comments on commit 947717c

Please sign in to comment.