/* tslint:disable */ /* eslint-disable */ /** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface PositionRelatedTransaction */ export interface PositionRelatedTransaction { /** * The transaction ID. * @type {string} * @memberof PositionRelatedTransaction */ 'txId': string; /** * ISO timestamp when the transaction was initiated (send time). * @type {string} * @memberof PositionRelatedTransaction */ 'timestamp': string; /** * Transaction outcome. * @type {string} * @memberof PositionRelatedTransaction */ 'status': PositionRelatedTransactionStatusEnum; /** * On-chain transaction hash. Absent while the transaction is pending. * @type {string} * @memberof PositionRelatedTransaction */ 'txHash'?: string; /** * Staking operation type. One of APPROVE, STAKE, UNSTAKE, WITHDRAW, CLAIM_REWARDS, SPLIT, CONSOLIDATE, MERGE, TRANSFER, AUTHORIZE, ADD_TO_STAKE. Absent on legacy persisted rows. * @type {string} * @memberof PositionRelatedTransaction */ 'stakingOperation'?: PositionRelatedTransactionStakingOperationEnum; /** * Portion of position amount this transaction moved (native units). Absent on legacy rows. * @type {string} * @memberof PositionRelatedTransaction */ 'amount'?: string; /** * User-provided note from the transfer request. Omitted when not set. * @type {string} * @memberof PositionRelatedTransaction */ 'txNote'?: string; /** * ISO timestamp when Cosmos unbonding is scheduled to end. Absent on other chains. * @type {string} * @memberof PositionRelatedTransaction */ 'completionTime'?: string; } export const PositionRelatedTransactionStatusEnum = { Pending: 'PENDING', Completed: 'COMPLETED', Failed: 'FAILED' } as const; export type PositionRelatedTransactionStatusEnum = typeof PositionRelatedTransactionStatusEnum[keyof typeof PositionRelatedTransactionStatusEnum]; export const PositionRelatedTransactionStakingOperationEnum = { Approve: 'APPROVE', Stake: 'STAKE', Unstake: 'UNSTAKE', Withdraw: 'WITHDRAW', ClaimRewards: 'CLAIM_REWARDS', Split: 'SPLIT', Consolidate: 'CONSOLIDATE', Merge: 'MERGE', Transfer: 'TRANSFER', Authorize: 'AUTHORIZE', AddToStake: 'ADD_TO_STAKE' } as const; export type PositionRelatedTransactionStakingOperationEnum = typeof PositionRelatedTransactionStakingOperationEnum[keyof typeof PositionRelatedTransactionStakingOperationEnum];